/*! HTML5 Boilerplate v7.0.1 | MIT License | https://html5boilerplate.com/ */

/* main.css 1.0.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

 
/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

   html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * Customize the background color to match your design.
 */

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}




 /* ==========================================================================
   Author's custom styles
   ========================================================================== */
* {
    box-sizing: border-box;
}
body {
	font: 90%/1.3 'Open Sans', Arial, Helvetica, sans serif;
    
	color: #000;
	background: #FFF0ed;
	margin: 0;
}
#holder {
    background-color: #fff0ed;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
#content {
    width: 100%;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
#content-form {
    width: 100%;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
input[type=text], select, textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    resize: vertical;
  }
input[type=date], select, textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    resize: vertical;
  }
  input[type=tel], select, textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    resize: vertical;
  }
  input[type=password], select, textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    resize: vertical;
  }
  input[type=file], select, textarea {
    background-color: white;
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    resize: vertical;
    }
  summary {
    font-size: 1.1em;
    margin: 0.5rem 0;
    cursor: pointer;
}
label {
    padding: 12px 12px 12px 0;
    display: inline-block;
}
input[type=submit] {
    background-color: #941d29;
    background-image: linear-gradient(to bottom, #941d29, #c4414b);
    color: #FFF;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    float: right;
    width: 100%;
    margin-top: 0;
  }
  
  input[type=submit]:hover {
    background-color: #877D6C; 
    background-image: linear-gradient(to bottom, #877d6c, #120f0a);
    color: white; 
  }
  .col-25, .col-75 {
    width: 100%;
    margin-top: 0;
  }
  .indexcol-25, .indexcol-75 {
    width: 100%;
    margin-top: 0;
  }
  
  /* Clear floats after the columns */
.row:after {
    content: "";
    display: table;
    clear: both;
  } 
.indexrow:after {
    content: "";
    display: table;
    clear: both;
  } 
figure {
    min-width: 0;
    max-width: 100%;
    margin: 0rem;
}

img {
    min-width: 0;
    display: block;
    max-width: 100%;
    border: 0;
}
.picturecell_1 img {
    margin: 0 auto;
}
.picturecell_2 img, .picturecell_3 {
    margin: 0 auto;
}
.picturecell_4 img {
    margin: 0 auto;
}
.picturecell_5 img, .picturecell_3 {
    margin: 0 auto;
}


header {
    background-color: #941d29;
   /*Farbverlauf:*/
   background-image: linear-gradient(to bottom, #500303, #941d29);
   margin: 0;
   padding: 0;
   width: 100%;
}

.callout {
	font: condensed 150% Arial, Verdana, Helvetica, sans serif;
	color: #bfac8b;
    margin: 0rem 0rem 1rem 2rem;
	padding: 0rem;
}
.benutzer {
    text-align: right;
    font: condensed 150% Arial, Verdana, Helvetica, sans serif;
	color: #bfac8b;
    margin: 0rem 4rem 1rem 2rem;
	padding: 0rem;
}
/*.picturecell_1 {
    background-color: #F2D2C0;
    display: flex;
    : center;
}*/
#formmenu {
    text-align: center;
    margin: 0;
    width: 100%;
    padding: 1rem;
}
#formmenu ul {
    margin: 0;
    padding: 0.1rem;
}
#formmenu li {
    margin: 0.5rem 0;
    list-style-type: none;
    padding: 0.5rem;
}
#formmenu a {
    display: block;
    background-color: #941d29;
    background-image: linear-gradient(to bottom, #941d29, #c4414b);
    border-radius: 0.3em;
    width: 90%;
    font-size: 1.2rem;
    margin: 0.2rem;
    padding: 0.5rem;
    color: white;
    text-decoration: none;
    font-weight: bold;
}
#formmenu a:hover, #formmenu a:focus {
    background-color: #877D6C; 
    background-image: linear-gradient(to bottom, #877d6c, #d2d0cb);
    color: black; 
}
a:focus {
    background-color: #877D6C; 
    background-image: linear-gradient(to bottom, #877d6c, #d2d0cb);
    color: black; 
}
#formmenu a:active {
    background-color: #877D6C; 
    background-image: linear-gradient(to bottom, #877d6c, #d2d0cb);
    color: white; 
}
.formular {
    margin: 0 auto;
	padding: 0 2rem 0 2rem;
    border-left: 0.4rem solid #c4414b;
    border-right: 0.4rem solid #c4414b;
  	width: 100%;
    text-align: center;
}

#red {
    color:#941d29;
}
#center {
    text-align: center;
    color:#941d29;
}
#centerblack {
    text-align: center;
}

main {
    background-color: #FFF;
    margin: 0 auto;
	padding: 0 2rem 0 2rem;
    border-left: 0.4rem solid #c4414b;
    border-right: 0.4rem solid #c4414b;
  	width: 100%;
}
.picturecell_2 {
    display: none;
}
.picturecell_5 {
    display: none;
}
footer {
    background-color: #333;
    color: white; 
    box-shadow: 0 2px 6px rgb(51,51,51,0.3); 
    margin-bottom: 2rem; 
    padding: 0.5rem;
	border-top: 0.1rem solid #877D6C;
	width: 100%;
	position: sticky; 
    top: 0; 
} 
footer ul { 
    display: flex; 
    flex-flow: column; 
    list-style: none; 
    padding: 0; 
    margin: 0; 
    flex-flow: wrap; 
    padding: 0; 
}
footer li {
    width: 100%;
    max-width: 100%; 
    text-align: center; 
    border-left: 1px solid #eee; 
    border-right: 1px solid #eee; 
}
footer li:last-child { 
    border-right: 1px solid #eee; 
}
footer a {
    display: block; 
    text-decoration: none; 
    background-color: #333;
    color: white;
    padding: 0.5rem 1rem;
}

footer a:hover, 
footer a:focus { 
    background-color: #877D6C; 
    color: white; 
}
#copy {
    font-size: 1rem;
    padding: 0 0 0 1rem;
}
/** 
  * Mobile First 
  * Gestaltung der Navigation in einem schmalen Viewport 
  */ 

nav .inside {
    padding: 0;
}

nav ul {
    display: flex; 
    flex-flow: column; 
    list-style: none; 
    text-align: center;
    padding: 0; 
    margin: 0; 
}
nav li {
    margin: 0.5rem 0;
    font-size: 120%;
    list-style-type: none;
    padding: 0.5rem;
}
nav a {
    display: block; 
    text-decoration: none; 
    background-color: #941d29;
    color: white;
    padding: 0.5rem 5rem;
}

nav a:hover, 
nav a:focus { 
    background-color: #877D6C; 
    background-image: linear-gradient(to bottom, #877d6c, #d2d0cb);
    color: black; 
}

/*
* Slideshow */
.ofaSlideshowElements {
    display: none;
}

.ofaSlideshowAnimation {
    position: relative;
    animation: ofaSlideshowAnimation 7s;
}
@keyframes ofaSlideshowAnimation {
    0% {opacity: 0;}
    20% {opacity: 1;}
    90% {opacity: 1;}
    100% {opacity: 0;}
}
#slideshow {
    width: 100%;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

/** 
  * Kein JavaScript? Menübutton ausblenden  
  */ 
.no-js .menubutton { display: none; }


/** 
* Wenn JavaScript aktiviert ist:  
* - Menübutton gestalten 
* - Burger-Symbol einbauen 
*/ 
.js .menubutton { 
    display: flex; 
    align-items: center; 
    cursor: pointer;
    background: #941d29; 
    color: white;
    font: inherit; 
    text-align: center; 
    padding: 0.5rem 3rem; 
    margin: 0 3rem 0 4rem; 
    height: 3rem;
}

.js .menubutton::before {
    content: url(../img/menuburger.svg); 
    width: 1.5rem; 
    height: 1.5rem; 
    padding: 0;
    margin-right: 0.25rem; 
}
  

/**
  * Navigationsliste ausblenden 
  */
.js nav ul {
    max-height: 0; 
    overflow: hidden; 
    padding: 0;
} 

/**
  * Navigationsliste einblenden 
  * Klick/Druck auf den Button fügt im HTML .showmenu hinzu 
  */    
.js .showmenu + ul {
    max-height: 100rem; 
    transition: max-height 0.5s ease-in-out;  
    overflow: auto; 
} 
.js .showmenu.menubutton::before {
    content: url(../img/menuclose.svg); 
}    
.menubutton {
    position: sticky;
    top: 0;
}
/**
  * Horizontale Navigation für breitere Viewports  
  */
@media screen and (min-width: 600px) {
   
       
    .callout {
        font: condensed 200% Arial, Verdana, Helvetica, sans serif;
        margin: 0rem 0rem 1rem 2rem;
    }
    #holder {
        justify-content: center;
    }
    #content {
        max-width: 100%;
        display: flex;
        flex-wrap: nowrap;
        justify-content: space-around;
        align-items: center;
       
    }
    #content-form {
        max-width: 100%;
        display: flex;
        flex-wrap: nowrap;
       
        justify-content: space-around;
        align-items: flex-start;
        justify-content: center;
    }
    
    #links {
        text-align: left;
        padding-right: 0 2rem 0 2rem;
       }
    #links input {
        float:right;
        padding-right: 10%;
    }
    #formmenu {
        text-align: center;
        margin: 0 auto;
        flex: 1;
        padding: 1rem;
    }
    #formmenu ul {
        margin: 0;
        padding: 0.1rem;
    }
    #formmenu li {
        margin: 0.5rem 0;
        font-size: 120%;
        list-style-type: none;
        padding: 0.5rem;
        align-content: flex-start;
    }
    #formmenu a {
        display: block;
        background-color: #941d29;
        background-image: linear-gradient(to bottom, #941d29, #c4414b);
        border-radius: 0.3em;
        width: 90%;
        font-size: 1rem;
        margin: 0.2rem;
        padding: 1rem;
        color: white;
        text-decoration: none;
        font-weight: bold;
    }
    
    .picturecell_1 {
        position: sticky;
	    bottom: 20rem;
        top: 20rem;
        flex: 1 1 1;
        margin: 0 auto;
    }
    .picturecell_2 {
        position: sticky;
	    bottom: 20rem;
        top: 20rem;
        flex: 1 1 1;
        margin: 0 auto;
        display: flex;
    }
    
    .picturecell_3 {
        margin: 0 auto;
        display: flex;
    }
    .picturecell_4 {
        display: none;
    }
    .picturecell_5 {
        display: none;
    }
    .formular {
        max-width: 40rem;
        padding: 2rem;
        margin: 2rem 0 6rem 0;
          border-left: 0.3rem solid #c4414b;
          border-right: 0.3rem solid #c4414b;
          flex: 3;
          box-shadow: 8px 8px 16px -8px black;
       
    }
    main {
        max-width: 30rem;
        padding: 2rem;
        margin: 4rem 0 6rem 0;
        border-left: 0.3rem solid #c4414b;
        border-right: 0.3rem solid #c4414b;
        flex: 3;
        box-shadow: 8px 8px 16px -8px black;
    }
    #startseite {
        box-shadow: 8px 8px 16px -8px black;
    }
    #sippentreffen {
        max-width: 60rem;
        margin: 0 0 2rem 0;
        box-shadow: 8px 8px 16px -8px black;
    }
    #bildergalerie {
        max-width: 50rem;
        margin: 0 0 2rem 0;
        box-shadow: 8px 8px 16px -8px black;
    }
    #geschichte {
        max-width: 50rem;
        margin: 0 0 2rem 0;
        box-shadow: 8px 8px 16px -8px black;
    }
    #aktuelles {
        max-width: 45rem;
        margin: 0 0 2rem 0;
        box-shadow: 8px 8px 16px -8px black;
    }
    .indexrechts {
        max-width: 30rem;
        margin: 0 1rem 2rem 1rem;
        flex: 1;
    }
    footer ul {
        max-height: none;
        flex-flow: row;
    }
  
} /* Ende @media */
/**
  * Horizontale Navigation für noch breitere Viewports  
  */
  @media screen and (min-width: 800px) {
    header {
        padding-left: 5rem;
        
    }
    .menubutton { 
        display: none !important; 
    }
    
    #holder {
        max-width: 100%;
    }
    .formular {
        max-width: 40rem;
    }
    .indexrechts {
        max-width: 30rem;
    }
    .col-25 {
        float: left;
        text-align: left;
        width: 30%;
        margin-top: 6px;
      }
    .col-75 {
        float: left;
        width: 70%;
        margin-top: 6px;
    }
    .doris {
        margin-bottom: 4rem;
        border: 1px solid #FFF;
    }
    .picturecell_1 {
       
        position: sticky;
	    top: 8em;
        flex: 1 1 1;
        margin: 5rem auto;
    }
    .picturecell_2 {
        position: sticky;
	    top: 8em;
        flex: 1 1 1;
        margin: 5rem auto;
        display: flex;
    }
    .picturecell_3 {
        margin: 5rem auto;
        padding: 3rem 0 0 10%;
        display: flex;
        flex: 1;
    }  
    .picturecell_4 { 
        position: sticky;
	    top: 8em;
        flex: 1 1 1;
        margin: 0 auto;
        display: flex;
    }
    .picturecell_5 {
        position: sticky;
	    top: 8em;
        flex: 1 1 1;
        margin: 0 auto;
        display: flex;
    }
    .picturecell_6 {
        flex: 1 1 1;
        margin: 0 auto;
    }
    .imgleft {
        float: left;
        margin-right: 1rem;
        max-width: 100%;
        height: auto;
    }  
      
    #links input {
        float:right;
        padding-right: 30%;
    }
    nav { 
        position: sticky;
	    top: 0;
        left: 0;
        right: 0;
        background-color: #941d29;
        color: white; 
        box-shadow: 0 2px 6px rgb(51,51,51,0.3); 
        margin-bottom: 2rem;
        width: 100%;
    }
    nav a {
        background-color: #941d29;
        padding: 0.5rem 1rem;
    }
    nav .inside {
        padding: 0 1rem; 
    }
    nav ul { 
        max-height: none !important; 
        flex-flow: row; 
        padding: 0; 
    }
    nav li {
        margin: 0;
        font-size: 100%;
        padding: 0;
        width: 100%;
        max-width: 100%; 
        text-align: center; 
        border-left: 1px solid #eee; 
    }
    nav li:last-child { 
        border-right: 1px solid #eee; 
    }
  }
@media screen and (min-width: 1300px) {

.indexrechts {
    max-width: 30rem;
    margin: 0 8rem 2rem 8rem;
}
.indexcol-25 {
    float: left;
    text-align: left;
    width: 30%;
    margin-top: 6px;
  }
.indexcol-75 {
    float: left;
    width: 70%;
    margin-top: 6px;
}

}

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



















 /* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

 .hidden {
  display: none !important;
}

/*
* Hide only visually, but have it available for screen readers:
* https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
*
* 1. For long content, line feeds are not interpreted as spaces and small width
*    causes content to wrap 1 word per line:
*    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
*/

.visuallyhidden {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  white-space: nowrap; /* 1 */
}

/*
* Extends the .visuallyhidden class to allow the element
* to be focusable when navigated to via the keyboard:
* https://www.drupal.org/node/897638
*/

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  width: auto;
  white-space: inherit;
}

/*
* Hide visually and from screen readers, but maintain layout
*/

.invisible {
  visibility: hidden;
}

/*
* Clearfix: contain floats
*
* For modern browsers
* 1. The space content is one way to avoid an Opera bug when the
*    `contenteditable` attribute is included anywhere else in the document.
*    Otherwise it causes space to appear at the top and bottom of elements
*    that receive the `clearfix` class.
* 2. The use of `table` rather than `block` is only necessary if using
*    `:before` to contain the top-margins of child elements.
*/

.clearfix:before,
.clearfix:after {
  content: " "; /* 1 */
  display: table; /* 2 */
}

.clearfix:after {
  clear: both;
}

 
/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

   @media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 1.25dppx),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

 
/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

   @media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important; /* Black prints faster */
        -webkit-box-shadow: none !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre {
        white-space: pre-wrap !important;
    }
    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}


