/** ====================================================
    Carnevals-Vereinigung Stollberg e.V.

    ===================================================== */

/**  
  * 1. Globale Einstellungen für die gesamte Website 
  */ 

*, *::before, *::after { 
  box-sizing: border-box; 
}

html { 
  scroll-behavior: smooth; 
}

h1, h2, h3, h4, h5, h6, p, ul, ol, blockquote { 
  margin-top: 0; 
}

img, video { 
  max-width: 100%; 
  height: auto; 
}

figure { 
  margin-left: 0; 
  margin-right: 0; 
  display: flex;
  align-items: center;
  justify-content: center;
  flex-flow: column;

} 
figcaption {
  text-align: center;
  font-weight: bold;
  font-style:normal;  
  font-family: 'Arial Fett';
  font-size: 18pt;
}

table {
  table-layout: fixed;
  width: 100%;
  border-collapse: collapse;
  border: 2px solid gray;
}

thead th:nth-child(1) {
  width: 25%;
}

thead th:nth-child(2) {
  width: 15%;
}

thead th:nth-child(3) {
  width: 10%;
}

thead th:nth-child(4) {
  width: 30%;
}

thead th:nth-child(5) {
  width: 20%;
}

th,
td {
  padding: 10px;
}

thead th,
tfoot th {
  font-family: "Rock Salt", cursive;
}

th {
  letter-spacing: 2px;
  border: thin solid;
}

td {
  letter-spacing: 1px;
  border: thin solid;
}

tbody td {
  text-align: center;
}

tfoot th {
  text-align: right;
}

thead,
tfoot {
  background: url(leopardskin.jpg);
  color: white;
  text-shadow: 1px 1px 1px black;
}

thead th,
tfoot th,
tfoot td {
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.1),
    rgba(0, 0, 0, 0.5)
  );
  border: 2px solid gray;
}

/**  
  * 2. Grundlegende Gestaltung für Schrift und Text  
  */ 

body {

font-family: system-ui, -apple-system, "Segoe UI", Roboto, 
             "Helvetica Neue", Arial, sans-serif; 

font-size: 1rem; 
}  

h1 { 
  font-size: 2.5rem; 
  font-weight: 500; } 
h2 { 
  font-size: 2rem; 
  font-weight: 500; 
} 
h3 { 
  font-size: 1.75rem; 
  font-weight: 500; 
} 
h4 { 
  font-size: 1.5rem; 
  font-weight: 500; 
}
h5 { 
  font-size: 1.25rem; 
}
h6 { 
  font-size: 0.8rem; 
  font-size: smaller; 
  font-style: italic;
} 

a { 
  text-decoration-thickness: 1px; 
  text-underline-offset: 0.1875em; }

address { 
  max-width: 580px;
  font-style: normal;
  background-color: whitesmoke;
  padding: 0.5rem; 
}

/**  
  * 3. Nützliche, allgemeine Klassen 
  */ 

.visually-hidden {
    position: absolute !important;
    clip: rect(0, 0, 0, 0) !important; 
    overflow: hidden !important;
    white-space: nowrap !important;
    width: 1px !important; 
    height: 1px !important; 
    padding: 0 !important; 
    border: 0 !important; 
    margin: -1px !important; 
  }

.float-rechts { 
  float: right; 
  margin: 0 0 0 1rem; 
}
.float-links  { 
  float: left;  
  margin: 0 1rem 0 0; 
}
.float-stoppen { 
  clear: both; 
}
figure[class~="float-rechts"], figure[class~="float-links"] { 
  text-align: center; 
}

.float-umschliessen { 
  overflow: hidden; 
} 

@supports (display: flow-root) { 
  .float-umschliessen {
    display: flow-root; 
    overflow: initial; 
  }
} /* Ende @supports */ 

details {
  background-color: gainsboro;
  padding: 1rem;
  border: 1px solid lightgrey;
  margin-bottom: 1rem;
}

summary {
  cursor: pointer;
  font-weight: bold;
  font-size: 1rem;
}

/** 
  * Ende basis.css 
  */ 

/** 
  * 1. Klassisches Seitenlayout (begrenzte Breite, zentriert) 
  */ 

html { 
  background-color: whitesmoke; 
}

body {
    background-color: gainsboro; 
    min-width: 320px; 
    max-width: 600px; 
    margin: 0.25rem auto;   
  }


/** 
  * 2. Kopfbereich (inklusive Inhalte)  
  */ 

.site-header { 
  padding: 1rem 1rem 0 1rem; 
  margin-bottom: 1rem; 
  background-color: #fff
  
} 

.site-header h1 { 
  margin-bottom: 0; 
}
.site-header p { 
  margin-top: 0; 
}


/** 
  * 3. Inhaltsbereich (Inhalte in content.css)  
  */ 

.site-content { 
    line-height: 1.5; 
    padding: 0 1rem; 
    margin-bottom: 2rem; 
} 
 
/** 
  * 4. Fußbereich (inklusive Inhalte)  
  */ 

.site-footer {
    font-size: smaller; 
    background-color: #333;
    color: white; 
    text-align: right; 
    padding: 0.5rem 1rem;
  }

.footer-nav ul {
  display: flex; 
  list-style: none; 
  padding: 0;   
  margin: 0; 
}
.footer-nav li {
  margin-right: 0.5rem;
}
.footer-nav li:first-child {
  padding-right: 0.5rem; 
  border-right: 1px solid #eee;
}
.footer-nav li:last-child {
  margin-right: 0; 
  margin-left: auto;
}
.site-footer a {
  display: block;
  color: white; 
  text-decoration: none; 
}

/** 
  * Ende layout.css 
  */ 

/* Modernes Layout */
html { 
  background-color: transparent; 
}
body { 
  display: flex;
  flex-flow: column;
  max-width: none; 
  min-height: 100vh; 
  padding: 0; 
  margin: 0; 
}

.inside {
  max-width: 600px; 
  padding: 0 1rem; 
  margin: 0 auto; 
}

@supports (display:grid) { 
  .inside { 
    max-width: 960px; 
  }
} 

.site-content .infoboxen { 
  padding: 1rem 0; 
} 
.site-content .infobox { 
  margin: 1rem 0; 
}

.site-header, .site-nav, .site-content, .site-footer { 
  padding-left: 0; 
  padding-right: 0; 
}

.site-content {
  flex: 1; 
}

/** 
  * Ende layout-modern.css 

/* einfache Inline-Navigation */

.site-nav { 
  position: sticky; 
  top: 0; 
  box-shadow: 0 2px 6px rgb(51,51,51,0.3); 
  background-color: #333;
  color: white; 
  padding: 0.5rem 1rem;
  margin-bottom: 2rem; 
}

.site-nav ul { 
    padding: 0; 
    margin: 0; 
  }

.site-nav li { 
    display: inline; 
    list-style-type: none;
    margin-right: 0.5rem; 
  }

.site-nav a {
    color: white; 
    text-decoration: none; 
}

.current a { 
  text-decoration: underline; 
}


/** 
  * Ende navi-inline.css 
  */ 

/* responsive Navigation */

/** 
  * Gestaltung der Navigation in einem schmalen Viewport  */ 

  .site-nav { 
    background-color: #333;
    color: white; 
    box-shadow: 0 2px 6px rgb(51,51,51,0.3); 
    margin-bottom: 2rem; 
} 

.site-nav .inside {
    padding: 0;
}

.site-nav ul {
    display: flex; 
    flex-flow: column; 
    list-style: none; 
    padding: 0; 
    margin: 0; 
}

.site-nav a {
    display: block; 
    text-decoration: none; 
    background: #333; 
    color: white;
    padding: 0.5rem 1rem;
}

.site-nav a:hover, .site-nav a:focus { 
    background: #07b; 
    color: white; 
}

.current a { 
    background: #666; 
    color: white; 
    text-decoration: underline;
}
 
.no-js .menubutton { 
  display: none; 
}

.js .menubutton { 
    display: flex; 
    align-items: center; 
    cursor: pointer;
    background: inherit; 
    color: white;
    font: inherit; 
    text-align: center; 
    padding: 0.5rem 1rem; 
    border: 0; 
    margin: 0; 
}

.js .menubutton::before {
    content: url(../bilder/menuburger.svg); 
    width: 1rem; 
    height: 1rem; 
    margin-right: 0.25rem; 
}
  
.js .site-nav ul {
    max-height: 0; 
    overflow: hidden; 
} 

.js .showmenu + ul {
    max-height: 100rem; 
    transition: max-height 0.5s ease-in-out;  
    overflow: auto; 
} 
.js .showmenu.menubutton::before {
    content: url(../bilder/menuclose.svg); 
}    
  
@media screen and (min-width: 600px) {
    .menubutton { 
        display: none !important; 
    } 
    .site-nav { 
        position: sticky; 
        top: 0; 
    } 
    .site-nav .inside {
        padding: 0 1rem; 
    }
    .site-nav ul { 
        max-height: none !important; 
        flex-flow: row; 
        padding: 0; 
    }
    .site-nav li {
        flex: 1; 
        max-width: 10rem; 
        text-align: center; 
        border-left: 1px solid #eee; 
    }
    .site-nav li:last-child { 
        border-right: 1px solid #eee; 
    }

} /* Ende @media */

/** 
  * Ende navi-reponsiv.css 
  */ 

/* Gestaltung der Inhalte in <main> */

.site-content a:link { 
  color: #07b; 
} 
.site-content a:visited { 
  color: #3ad; 
} 
.site-content a:hover, .site-content a:focus { 
  color: #f63; 
} 
.site-content a:active { 
  color: #ec3; 
}  
.site-content a[href^="http"]::after { 
  content: " \2197"; 
}

.infoboxen {
    background-color: #eee; 
    padding: 1rem; 
    margin-bottom: 1rem; 
  }

  @media screen and (min-width: 600px) {
    .infoboxen > .inside {
      display: grid; 
      grid-template-columns: 1fr 1fr 1fr; 
      grid-gap: 1rem; 
    } 
  } /* Ende @media */  

  .infobox {
    display: flex; 
    flex-flow: column;
    text-align: center; 
    background-color: white; 
    padding: 1rem;
    margin: 1rem; 
  }  
  
  .infobox p:last-child { 
    margin-top: auto; 
  } 

@media screen and (min-width: 600px) { 
  .kundenstimmen > .inside { 
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 1rem;
  }
  .kundenstimmen h2:first-child { 
    grid-column: 1/3; 
  }  
} /* Ende @media */ 
    
.kundenstimme {
    text-align: center; 
    background-color: #eee;
    color: black;
    background-image: linear-gradient(to right, #eee, whitesmoke); 
    box-shadow: 0 1px 3px rgb(51,51,51,0.3); 
    padding: 1rem;
    border-left: 5px solid #07b;
    margin: 0; 
    margin-bottom: 1rem;
  }
.kundenstimme blockquote { 
    margin: 0; 
} 
.kundenstimme p:first-child { 
    font-size: 1.25rem; 
    font-weight: bold; 
}

@media screen and (min-width: 600px) {
  .seite-news .site-content > .inside {
    display: grid; 
    grid-template-columns: 2fr 1fr; 
    grid-column-gap: 3rem; 
    grid-row-gap: 1rem; 
    grid-template-areas: "intro intro" "beitragsliste sidebar";
  } 

  .seite-news .content-intro { 
    grid-area: intro; 
  } 
  .seite-news .beitragsliste { 
    grid-area: beitragsliste; 
  } 
  .seite-news .linklisten  { 
    grid-area: sidebar; 
  } 

} /* Ende @media */
  
.beitragsliste h3, .linklisten h3 {
    padding-top: 0.5rem; 
    border-top: 1px solid whitesmoke; 
    margin-bottom: 0.25rem; 
  }
  
  .beitragsliste article, .linklisten section { 
    margin-bottom: 3rem; 
  }
  .beitragsinfo { 
    color: #808080; 
  }
  
.mitglieder { 
  display: grid; 
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
  grid-gap: 1rem; 
  list-style: none; 
  padding: 0; 
  margin: 0; 
}
.mitglied { 
  text-align: center;
  padding: 0.5rem;
  border: 1px solid #999; 
}
.mitglied h3 { 
  background: #07b; 
  color: white; 
  font-size: 1.25rem;
  padding: 1rem; 
  margin: -0.5rem -0.5rem 1rem -0.5rem
}
  
/** 
  * Ende content.css 
  */ 

/** 
  * Kontaktformular 
  */ 
  .kontaktformular form {
    max-width: 580px; 
    background-color: #eee; 
    padding: 1rem; 
}

.kontaktformular div { 
  margin-bottom: 1rem; 
}

.kontaktformular label { 
  cursor: pointer; 
} 
.kontaktformular label[for] { 
  display: block; 
}

.kontaktformular button {
    background-color: #07b;
    color: white; 
    padding: 0.5rem; 
    border: none; 
    font-size: inherit; 
    cursor: pointer; 
} 

/** 
  * Ende forms.css 
  */     

/* einfache Druckversion */ 

@media print {
  * { 
    box-shadow: none !important; 
    text-shadow: none !important; 
  } 

  html { 
    background-color: white; 
    color:black; } 

  .site-nav, .site-footer { 
    display: none; 
  }

} /* Ende @media */

/** 
* Ende print.css 
*/  

/* ----------------------------------------------------------------------------- *
 *             Responsive Slideshow mit flexslider.js                   *
 * ----------------------------------------------------------------------------- */
/*
 * jQuery FlexSlider v2.0
 * http://www.woothemes.com/flexslider/
 *
 * Copyright 2012 WooThemes
 * Free to use under the GPLv2 license.
 * http://www.gnu.org/licenses/gpl-2.0.html
 *
 * Contributing author: Tyler Smith (@mbmufffin)
 *
 * ----------------------------------------------------------------------------- *
 * Original jQuery FlexSlider v2.0 mit Anpassungen für Carnevalsvereinigung        *
 * ----------------------------------------------------------------------------- *
 */

.flex-container a:active, .flexslider a:active, .flex-container a:focus, .flexslider a:focus {
  outline: none;
}

.slides, .flex-control-nav, .flex-direction-nav {
  margin: 0;
  padding: 0;
  list-style: none;
}

.flexslider {
  margin: 0;
  padding: 0;
}

.flexslider .slides > li {
  display: none;
  -webkit-backface-visibility: hidden;
}

.flexslider .slides img {
  width: 100%;
  display: block;
}

.flex-pauseplay span {
  text-transform: capitalize;
}

.slides:after {
  content: ".";
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
}

html[xmlns] .slides {
  display: block;
}

* html .slides {
  height: 1%;
}

.no-js .slides > li:first-child, .js-off .slides > li:first-child {
  display: block;
}

.flexslider {
  margin: 0 0 40px;
  background: #fff;
  border: 4px solid #fff;
  position: relative;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  -o-border-radius: 4px;
  border-radius: 4px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
  -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
  -o-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
  zoom: 1;
}

.flex-viewport {
  max-height: 2000px;
  -webkit-transition: all 1s ease;
  -moz-transition: all 1s ease;
  transition: all 1s ease;
}

.loading .flex-viewport {
  max-height: 300px;
}

.flexslider .slides {
  zoom: 1;
  box-shadow: none;
}

.carousel li {
  margin-right: 5px;
}

.flex-direction-nav {
  *height: 0;
}

.flex-direction-nav a {
  width: 38px;
  background: url("../gfx/prev-next.gif") no-repeat scroll left 50% black;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 10;
  text-indent: -9999px;
  opacity: 0.5;
  overflow: hidden;
}

.flex-direction-nav a.flex-next {
  background-position: right 50%;
  left: auto;
  right: 0;
}

.flexslider:hover .flex-next:hover, .flexslider:hover .flex-prev:hover {
  opacity: 1;
}

.flex-direction-nav .flex-disabled {
  opacity: .3 !important;
  filter: alpha(opacity=30);
  cursor: default;
}

/** 
  * Ende style.css 
  */ 