

     /*
      * HTML5 Boilerplate
      *
      * 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,
 button,
 input,
 select,
 textarea {
     color: #222;
 }

body {
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

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

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

/*
 * A better looking default horizontal rule
 */

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

/*
 * Remove the gap between images and the bottom of their containers: h5bp.com/i/440
 */

img {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

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

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

textarea {
    resize: vertical;
}

/* ==========================================================================
   Chrome Frame prompt
   ========================================================================== */

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

/* ==========================================================================
   Author's custom styles
   ========================================================================== */


 html,
 button,
 input,
 select,
 textarea {
     font-family: Helvetica, Sans-Serif, Sans;
 }

html {
    background: #fff;
    color: #111;
    font-size: 14px;
}

img.r {
    max-width: 100%;
    height: auto;
}

img.title {
    max-width: 99.5%;
    height: auto;
    border: 2px solid transparent;
}

img.title:hover, img.title:focus {
    border: 2px solid #ff56b8; 
}

.tooltip {
  position: relative;
  display: inline-block;
}

.tooltip .tooltiptext {
  visibility: hidden;
  width: 120px;
  background-color: #beeae6;
  color: black;
  text-align: center;
  padding: 5px 5px;
  border-radius: 6px;
  position: absolute;
  z-index: 1;
  top: 25px;
  left: 80%;
}

.tooltip:hover .tooltiptext {
  visibility: visible;
}

h1 {
    font-size: 1.4em;
    font-weight: bold;
}

h2 {
    font-size: 1.2em;
    font-weight: bold;
}

.hoerproben h2, .kritiken h2 {
    color: #c81113;
    margin-top: 3em;
}

h3 {
    font-size: 1em;
    font-weight: bold;
}

h1,h2,h3,p,li {
    line-height: 1.4em;
}

hr {
    width: 20%;
}

td, th {
    vertical-align: top;
}

td, th {
    vertical-align: top;
}

.center {
    text-align: center;
}

.success {
    color: #3fa535;
}

.error {
    color: #e94c39;
}

.galleria {
    max-width: 100%;
    height: 500px;
}

.container {
    margin: 0 auto;
    position: relative;
    padding: 10px;
    min-width: 300px;
    max-width: 1200px;
}

#main {
    max-width: 600px;
}

.hoerproben audio {
    width: 600px;
    max-width: 100%;
}

.box {
    overflow: hidden;
    border-bottom: 1px solid #ccc;
    padding-bottom: 2em;
}

table.stat tr {
    border: 1px solid black;
}

table.stat2 tr {
    border: 1px solid black;
}

table.stat td {
    border: 1px solid black;
    text-align: center;
    padding: 0.5em 1em 0.5em 1em;

}

table.stat2 td {
    border: 1px solid black;
    text-align: center;
    padding: 0.5em 0.2em 0.5em 0.2em;

}

table.stat th {
    border: 1px solid black;
    text-align: center;
    padding: 0.5em 1em 0.5em 1em;
    background-color: #ccc;
}

table.stat2 th {
    border: 1px solid black;
    text-align: center;
    padding: 0.5em 0.2em 0.5em 0.2em;
    background-color: #ccc;
}

.veranstaltungen {
    margin-bottom: 2em;
}

.eventdetail img {
    width: 100%;
    max-width: 100%;
    height: auto;
}

p.menubuttonp {
    margin: 0;
    padding: 0;
}

p.menuinfobuttonp {
    margin: 1.8em 0 0 0;
    padding: 0;
}

a.menuinfobutton {
    font-weight: bold;
    -moz-hyphens: auto;
    -o-hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
}

.menubutton {
    text-decoration: none;
    display: inline-block;
    height: 2.4em;
    line-height: 2.4em;
//border: 1px solid #707;
    padding-left: 1.8em;
    border-radius: 0.2em;
    outline: none;
}

.veranstbutton {
    margin-top: 1.8em;
}
#filtertoggle {
    margin-top: 2em;
    margin-bottom: 2px;
    height: 2.4em;
    border: 1px solid #707;
    padding-right: 2em;
    padding-left: 0.6em;
    border-radius: 0.2em;
    background: #fafafa 	url("data:image/png;base64,R0lGODlhDwAUAIABAAAAAP///yH5BAEAAAEALAAAAAAPABQAAAIXjI+py+0Po5wH2HsXzmw//lHiSJZmUAAAOw==") no-repeat 96% 50%;
}

summary:hover {
    text-decoration: underline;
}

#pdfexport {
    float: right;
    margin-top: 2em;
    text-decoration: none;
    color: #000;
    display: block;
    margin-bottom: 2px;
    height: 2.4em;
    line-height: 2.4em;
//border: 1px solid #707;
    padding-left: 2.6em;
    border-radius: 0.2em;
    background: url("../img/icon_pdf.png") no-repeat 0% 50%;
    background-size: auto 76%;
    outline: none;
}

#pdfexport:hover {
    color: #707;
    background: url("../img/pdf_icon_over.png") no-repeat 0% 50%;
    background-size: auto 76%;
}

.sanktnikolaichor #pdfexport:hover {
    color: #c81113;
    background: url("../img/pdf_icon_over_chor.png") no-repeat 0% 50%;
    background-size: auto 76%;
}

#filtertoggle-alter {
    border: 1px solid #ccc;
    background: #fff;
    padding: 0.2em 0.5em 0.2em 0.5em;
    color: #000;
    border-radius: 0.2em;
}

div.filtertext {
//border: 1px solid;
    line-height: 2.6em;
}

.flip-card {
  background-color: transparent;
  width: 200px;
  height: 300px;
  border: 1px solid #f1f1f1;
  perspective: 1000px; /* Remove this if you don't want the 3D effect */
}

/* This container is needed to position the front and back side */
.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

/* Do an horizontal flip when you move the mouse over the flip box container */
.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

/* Position the front and back side */
.flip-card-front, .flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden; /* Safari */
  backface-visibility: hidden;
}

/* Style the front side (fallback if image is missing) */
.flip-card-front {
  background-color: #bbb;
  color: black;
}

/* Style the back side */
.flip-card-back {
  background-color: #c81113;
  color: white;
  transform: rotateY(180deg);
}

.filter-textfield {
    line-height: 1.4em;
    height: 2em;
    margin: 0 0.4em;
    padding: 0 0.5em;
    display: inline-block;
    vertical-align: middle;
    border: 1px solid #707;
    border-radius: 0.2em;
    overflow: hidden;
    background: #fafafa;
}

.sanktnikolaichor .filter-textfield {
    border: 1px solid #c81113;
}

.filter-button {
    line-height: 1.4em;
    height: 2em;
    margin: 0 0.4em;
    display: inline-block;
    vertical-align: middle;
    border: 1px solid #707;
    border-radius: 0.2em;
    overflow: hidden;
    background: #fafafa;
}

.sanktnikolaichor .filter-button {
    border: 1px solid #c81113;
}

.filter-dropdown {
    line-height: 1.4em;
    height: 2em;
    margin: 0 0.4em;
    display: inline-block;
    vertical-align: middle;
    border: 1px solid #707;
    width: 8em;
    border-radius: 0.2em;
    overflow: hidden;
    background: #fafafa 	url("data:image/png;base64,R0lGODlhDwAUAIABAAAAAP///yH5BAEAAAEALAAAAAAPABQAAAIXjI+py+0Po5wH2HsXzmw//lHiSJZmUAAAOw==") no-repeat 96% 50%;
}

.sanktnikolaichor .filter-dropdown {
    border: 1px solid #c81113;
}

.filter-dropdown select {
    padding: 0.4em;
    width: 120%;
    border: none;
    box-shadow: none;
    background: transparent;
    background-image: none;
    -webkit-appearance: none;
    cursor: pointer;
    outline: none;

    color: #000;
    color: rgba(0,0,0,0);
    text-shadow: 0 0 0 #000;
}

.eventdetailbutton {
    line-height: 1.4em;
    font-style: italic;
    border: 1px solid #ccc;
    border: none;
    margin-top: 0.5em;
    margin-bottom: 0.2em;
//margin-left: 1em;
    padding: 0.2em;
    padding-left: 1.8em;
    border-radius: 0.2em;
}

.veranstaltungen tr td:last-child {
    width: 100%;
}

.veranstaltungen td, .veranstaltungen th {
    padding: 0.4em 2em 0.4em 0;
    line-height: 1.2em;
    vertical-align: top;
//border: 1px solid;
}

.veranstaltungen p {
    margin: 0;
    line-height: 1.2em;
}

.veranstaltungen .datum td {
    font-weight: bold;
    padding-top: 2em;
}

.veranstaltungen .datum_first td {
    font-weight: bold;
//padding-top: 2em;
}

.veranstaltungen .datum:first-child td {
    font-weight: bold;
    padding-top: 0.4em;
}

.veranstaltungen .kwinfo {
    border-top: 1px solid;
}

.veranstaltungen .kwinfo td {
    text-align: right;
    margin: 0;
    padding: 0.2em 0 0 0;
}

.ortred {
    color: #CD3700;
}

#access {

}

#site h3 {
    display: none;
}

#nav {

}

#nav a,
#nav a:visited {
    text-decoration: none;
}

#nav a:focus,
#nav a:hover {

}

#nav li.selected > a,
#nav li.selected > a:visited,
#nav li.selected > a:focus,
#nav li.selected > a:hover {
    text-decoration: underline;
}

#nav ul.top {
    margin: 0;
    padding: 0;
}

#nav ul.sub {
    padding: 0 0 0 2em;
}

#nav li {
    list-style-type: none;
    margin: 0;
    padding: 0.2em 0;
}

#nav .sub li.ueb {
    display: none;
}

#footer {
    font-size: 0.8em;
}

.eventdetail {
    padding: 1.5em;
    display: none;
//border-radius: 0.2em;
    border: 1px solid #ccc;
}

.eventdetail div.ort {
    margin-bottom: 2em;
}

.eventdetail div.informationen {
}

.eventdetails div.kategorien {
    margin-top: 2em;
}

.eventdetail div.kategorien .content {
    font-style: italic;
}

.eventdetail div.content {
    margin-left: 1em;
    margin-top: 0.4em;
}

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

.klappinfo_open.klappinfo_right {
    text-align: right;
}

.klappinfo_open a, .klappinfo_open a:active, .klappinfo_open a:focus, .klappinfo_open a:visited {
    outline: 0;
    display: block;
    font-size: 1.2em;
    font-weight: bold;
}

.klappinfo_open.klappinfo_margin {
    margin-top: 2em;
}

.klappinfo {
    display: none;
    position: relative;
    padding: 0;
    margin: 0;
}

.orgelslider {
    width: 400px;
    max-width: 100%;
}

.orgelslider p {
    margin: 0 0 2em;
}

.orgeltable {
    width: 100%;
}

.orgeltable th {
    text-align: left;
}

.orgeltable td {
//border: 1px solid #ccc;
//padding: 8px 3px;
}

.orgeltable .centered {
    text-align: center;
}

.breaker {
    clear: both;
    height: 1px;
}

.modal {
    display:    none;
    position:   fixed;
    z-index:    1000;
    top:        0;
    left:       0;
    height:     100%;
    width:      100%;
    background: rgba( 255, 255, 255, .8 )
    url('../img/loading2.gif')
    50% 50%
    no-repeat;
}

body.loading {
    overflow: hidden;
}

body.loading .modal {
    display: block;
}

.blechblaeserensemle-logo {
    float: left;
    margin: 0 1em 1em 0;
}

                     html {
                         background: #fff;
                         color: #111;
                     }

hr {
    border-top: 1px solid #e7e7e7;
}

a, a:visited {
    color: #5a2873;
    text-decoration: none;
}

a:focus, a:hover {
    color: #707;
    text-decoration: underline;
}

.sanktnikolaichor a, .sanktnikolaichor a:visited {
    color: #000;
    text-decoration: underline;
}

.sanktnikolaichor a:focus, .sanktnikolaichor a:hover {
    color: #c81113;
    text-decoration: underline;
}

.chorinfolink, .chorinfolink:visited {
    color: #c81113;
}

.chorinfolink:focus, .chorinfolink:hover {
    color: #c81113;
}

#nav {
    padding: 1px 10px;
    background: #eee;
}

#nav li {
    color: #000;
}

#nav a,
#nav a:visited {
    color: #000;
}

#nav a:focus,
#nav a:hover {
    color: #909;
}

#nav li.selected > a,
#nav li.selected > a:visited,
#nav li.selected > a:focus,
#nav li.selected > a:hover {
    color: #909;
    text-decoration: none;
}

#site a,
#site a:visited {
    color: #000;
    text-decoration: none;
}

#site a:focus,
#site a:hover {
    color: #000;
    text-decoration: none;
}


.portrait {

    -webkit-clip-path: circle(50% at 50% 50%);
    clip-path: circle(50% at 50% 50%);
}

.portraitbox {
    width: 25%;
    padding-right:5%;
    padding-bottom:5%;
}

.veranstaltungen {
    color: #707;
}

.container.sanktnikolaichor .veranstaltungen {
    color: #c81113;
}

.container.sanktnikolaichor .veranstaltungen tr:not(.datum_first) .second {
    color: #000;
}

.container.sanktnikolaichor .veranstaltungen tr:not(.datum_first) .second .redtitle {
    color: #c81113;
}

.no-js #filter {
    display: none;
}

.no-textshadow .filter-dropdown select {
    color: #000;
}

.filter-dropdown-years {
    width: 5em;
}

.filter-dropdown-old {
    width: 9em;
}

.filter-dropdown-month {
    width: 9em;
}

#filterdiv {
    border: 1px solid #ccc;
    margin-bottom: 1.2em;
    border-radius: 0.2em;
    width: 100%;
}

#filterdiv .left {
    width: 120px;
    float: left;
    padding: 0.6em;
}

#filterdiv .right {
    float: left;
    padding: 0.6em;
}

#filterdiv ul {
    position: relative;
    list-style-type: none;
    margin: 0;
    padding: 0;
}

#filterdiv ul.filter_cats ul {
    margin-left: 2em;
}

#filterdiv li {
    text-align: left;
    line-height: 2em;
    padding: 0;
    margin: 0 0 0.5em 0;
    font-style: normal;
    border-radius: 0.2em;
    cursor: pointer;
}

#filterdiv .filter_cats li {
    width: 14em;
}

#filterdiv li.line {
    display: inline-block;
    margin: 0 0.4em 0 0;
    padding: 0 0.8em 0 0.8em;
}

#filterdiv li.titel {
    font-weight: bold;
}

#filterdiv li.cat {
    border: 1px solid #ccc;
}

#filterdiv .filter_cats li.cat .inner {
    border-left: 8px solid #808;
    border-radius: 0.2em;
    padding-left: 0.8em;
}

#filterdiv li.on {
    background: #808;
    border: 1px solid #808;
    color: #fff;
}

.menubutton {
    color: #000;
}
.ticketbutton {
    /* background: url("/web/20210612072100im_/https://www.st-nikolai-kiel.de/img/webcam_icon.png") no-repeat 0% 34%; */
    background-image: url("data:image/svg+xml,%3Csvg id='Layer_1' data-name='Layer 1' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 36'%3E%3Cdefs%3E%3Cstyle%3E.cls-1%7Bfill:%23242021;%7D%3C/style%3E%3C/defs%3E%3Ctitle%3EZeichenfläche 2%3C/title%3E%3Cpath class='cls-1' d='M25.76,3.11a.81.81,0,0,1,.1-.09l-3-3L8.62,14.21l1.43,1.43L8.56,17.13,7.14,15.7,0,22.84l3,3a.81.81,0,0,1,.09-.1,5,5,0,0,1,7.13,7.13.81.81,0,0,1-.1.09l3,3,7.14-7.14-1.43-1.42L20.36,26l1.43,1.43L36,13.16l-3-3a.81.81,0,0,1-.09.1,5,5,0,0,1-7.13-7.13Zm-7.28,21L17,25.56l-2.41-2.41,1.49-1.48Zm-4.21-4.21-1.48,1.49L10.38,19l1.49-1.49Z'/%3E%3C/svg%3E");
    background-size: auto 60%;
    background-repeat: no-repeat;
    background-position: 0% 34%;
}
.ticketbutton:hover {
    /* background: url("/web/20210612072100im_/https://www.st-nikolai-kiel.de/img/webcam_icon_over.png") no-repeat 0% 34%; */
    background-image: url("data:image/svg+xml,%3Csvg id='Layer_1' data-name='Layer 1' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 36'%3E%3Cdefs%3E%3Cstyle%3E.cls-1%7Bfill:%23909;%7D%3C/style%3E%3C/defs%3E%3Ctitle%3EZeichenfläche 2%3C/title%3E%3Cpath class='cls-1' d='M25.76,3.11a.81.81,0,0,1,.1-.09l-3-3L8.62,14.21l1.43,1.43L8.56,17.13,7.14,15.7,0,22.84l3,3a.81.81,0,0,1,.09-.1,5,5,0,0,1,7.13,7.13.81.81,0,0,1-.1.09l3,3,7.14-7.14-1.43-1.42L20.36,26l1.43,1.43L36,13.16l-3-3a.81.81,0,0,1-.09.1,5,5,0,0,1-7.13-7.13Zm-7.28,21L17,25.56l-2.41-2.41,1.49-1.48Zm-4.21-4.21-1.48,1.49L10.38,19l1.49-1.49Z'/%3E%3C/svg%3E");
    background-size: auto 60%;
    background-repeat: no-repeat;
    background-position: 0% 34%;
}

.veranstbutton {
    margin-top: 1.8em;
    background: url("../img/kalender_icon_black.png") no-repeat 0% 34%;
    background-size: auto 60%;
}

.veranstbutton:hover {
    background: url("../img/kalender_icon.png") no-repeat 0% 34%;
    background-size: auto 60%;
}

.veranstselected {
    color: #707 !important;
    background: url("../img/kalender_icon.png") no-repeat 0% 34% !important;
    background-size: auto 60% !important;
}

.webcambutton {
    background: url("../img/webcam_icon.png") no-repeat 0% 34%;
    background-size: auto 60%;
}

.webcambutton:hover {
    background: url("../img/webcam_icon_over.png") no-repeat 0% 34%;
    background-size: auto 60%;
}

.webcamselected {
    color: #707 !important;
    background: url("../img/webcam_icon_over.png") no-repeat 0% 34% !important;
    background-size: auto 60% !important;
}

.menuinfoselected {
    color: #707 !important;
}

.eventdetail {
    color: #000;
}

.eventdetailbutton {
    background: #fff;
    color: #222;
}

.eventdetailbutton:hover {
    color: #707;
}

.container.sanktnikolaichor .eventdetailbutton:hover {
    color: #c81113;
}

.eventdetailbutton.icon-detail {
    background: url("../img/info_icon.png") no-repeat 0% 0%;
    background-size: auto 90%;
}

.eventdetailbutton.icon-detail:hover {
    background: url("../img/info_icon_over.png") no-repeat 0% 0%;
    background-size: auto 90%;
}

.container.sanktnikolaichor .eventdetailbutton.icon-detail:hover {
    background: url("../img/info_icon_over_chor.png") no-repeat 0% 0%;
    background-size: auto 90%;
}



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

      /*
       * Image replacement
       */

  .ir {
      background-color: transparent;
      border: 0;
      overflow: hidden;
      /* IE 6/7 fallback */
      *text-indent: -9999px;
  }

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

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

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

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

/*
 * Hide visually and from screenreaders, 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;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

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

@media only screen and (max-width: 619px) {

    #google_translate_element {
        margin-bottom: 1em;
    }

    .blechblaeserensemle-logo {
        float: none;
        margin: 0;
    }

}


@media only screen and (max-width: 839px) {

    .wide {
        display: none;
    }

    #nav li.sanktnikolaichor.selected > a,
    #nav li.sanktnikolaichor.selected > a:visited,
    #nav li.sanktnikolaichor.selected > a:focus,
    #nav li.sanktnikolaichor.selected .sub li.selected > a,
    #nav li.sanktnikolaichor.selected .sub li.selected > a:visited,
    #nav li.sanktnikolaichor.selected .sub li.selected > a:focus,
    #nav li.sanktnikolaichor.selected a:hover {
        color: #c81113;
    }

}

@media only screen
and (min-width: 620px)
and (max-width: 839px) {

    .narrow { display: none; }

    .box .fleft {
        float: left;
        width: 45%;
    }

    .box .right {
        margin-left: 55%;
    }

    .box .left {
        margin-right: 55%;
    }

    .box .fright {
        float: right;
        width: 45%;
    }

    .container {
        position: relative;
    }

    #header {
        position: relative;
        height: 130px;
        overflow: hidden;
    }

    #access {
        display: none;
    }

    #site {
        position: absolute;
        top: 0;
        left: 195px;
        right: 0;
        height: 130px;
        margin: 0;
    }

    #site h3 {
        font-size: 1.4em;
        padding: 3.4em 0 0 1.4em;
        font-weight: normal;
        color: red;
    }

    #site h3 span {
        display: inline-block;
        padding: 0 1.8em;
    }

    #logo {
        margin: 0;
        position: absolute;
        left: 220px;
        top: 15px;
        bottom: 15px;
        right: 20px;
    }

    #presentation {
        margin-top: 1em;
        font-size: 100%;
    }

    #main {
        margin-left: 216px;
        padding-top: 20px;
        padding-bottom: 150px;
        min-height: 400px;
    }
  
  .main_panel {
    background-image: linear-gradient(#fff7e6,white); 
    padding-top: 12px; 
    padding-bottom: 12px; 
    padding-left: 24px; 
    padding-right: 24px; 
    border-radius: 6px;
    margin-bottom: 12px;
  }

    .main_fullwidth {
        margin-left: 216px;
        padding-top: 20px;
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-gap: 20px;
    }
  
      .main_fullwidth_two_panels {
        margin-left: 216px;
        padding-top: 20px;
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-gap: 20px;
    }
  
        .main_fullwidth_three_panels {
        margin-left: 216px;
        padding-top: 20px;
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        grid-gap: 20px;
    }

    #nav {
        position: absolute;
        width: 195px;
        top: 142px;
        left: 10px;
        height: 620px;
        padding: 0;
        background: transparent;
    }

    #nav.fixed {
        position: fixed;
        top: 2px;
        left: auto;
    }

    #nav-top {
        width: 155px;
        padding: 12px 20px;
        margin: 0;
        position: absolute;
        top: 0;
        bottom: 0;
        text-align: left;
    }

    #nav ul.top {
        margin: 0;
        padding: 0;
        text-align: left;
    }

    #nav ul.sub {
        display: none;

    }

    #nav li.selected ul.sub {
        display: block;
        padding: 0 0 0 20px;
        margin: 0;
        text-align: left;
    }

    #google_translate_element {
        /*position: absolute;
        right: 10px;
        bottom: -36px;*/
    }

html {
    background: #ffff;
    color: #000;
}

    #header {
        background: #ccc;
    }

    #site {
        background: #eee;
        border-left: 2px solid #fff;
    }

    #nav {
        background: #ccc;
    }

}

@media only screen and (min-width: 840px) {

    .narrow { display: none; }

    .box .fleft {
        float: left;
        width: 45%;
    }

    .box .right {
        margin-left: 55%;
    }

    .box .left {
        margin-right: 55%;
    }

    .box .fright {
        float: right;
        width: 45%;
    }

    #blackbox {
        border: 1px solid black;
        width: 65%;
    }

    #blackbox p {
        padding: 5%;
    }

    .minipic {
        width: 25%;
    }

    .gallerypic {
        width: 25%;
        padding-right:5%;
        padding-bottom:5%;
    }

    .zitat {
        text-align: right;
        font-style: italic;
        padding-right: 5%;
    }

    .container {
        position: relative;
    }

    #header {
        position: relative;
        height: 130px;
        overflow: hidden;
    }

    #access {
        position: absolute;
        top: 0;
        left: 165px;
        width: 150px;
        height: 130px;
        padding: 12px 20px;
        margin: 0;
    }

    #access a {
        display: none;
    }

    #site {
        position: absolute;
        top: 0;
        left: 357px;
        right: 0;
        height: 130px;
        margin: 0;
    }

    #site h3 {
        font-size: 1.6em;
        padding: 2.65em 0 0 1.4em;
        font-weight: normal;
    }

    #site h3 span {
        display: inline-block;
        padding: 0 1.6em;
    }

    #logo {
        margin: 0;
        position: absolute;
        left: 380px;
        top: 15px;
        bottom: 15px;
        right: 20px;
    }

    #presentation {
        margin-top: 3em;
        font-size: 100%;
    }

    #main {
        margin-left: 378px;
        padding-top: 20px;
        padding-bottom: 150px;
        min-height: 400px;
    }

    .main_fullwidth {
        margin-left: 378px;
        padding-top: 20px;
    }
  
      .main_fullwidth_two_panels {
        margin-left: 378px;
        padding-top: 20px;
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-gap: 20px;
    }
  
        .main_fullwidth_three_panels {
        margin-left: 378px;
        padding-top: 20px;
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        grid-gap: 20px;
    }

    #nav {
        position: absolute;
        width: 357px;
        top: 142px;
        left: 10px;
        height: 640px;
        padding: 0;
        background: transparent;
    }

    #nav.fixed {
        position: fixed;
        top: 2px;
        left: auto;
    }

    #nav-top {
        width: 125px;
        padding: 12px 20px;
        margin: 0;
        position: absolute;
        top: 0;
        bottom: 0;
        text-align: right;
    }

    #nav ul.top {
        margin: 0;
        padding: 0;
        text-align: right;
    }

    #nav ul.sub {
        display: none;

    }

    #nav li.selected ul.sub {
        position: absolute;
        display: block;
        top: 0;
        left: 167px;
        width: 160px;
        padding: 12px 20px;
        margin: 0;
        text-align: left;
    }

    #google_translate_element {
        /*position: absolute;
        right: -192px;
        bottom: -36px;*/
    }

    .zoomable .zoom {
        position: absolute;
        right: 20px;
        bottom: 20px;
        width: 26px;
        height: 26px;
        background: url('../img/lupe.png') no-repeat;
        cursor: pointer;
    }

html {
    background: #ffff;
    color: #000;
}

    #header {
        background: #ccc;
    }

    #access {
        background: #ddd;
        border-left: 2px solid #fff;
    }

    .sanktnikolaichor #access {
        background: #c81113;
    }

    #site {
        background: #eee;
        border-left: 2px solid #fff;
    }

    #nav-top {
        background: #ccc;
        border-right: 2px solid #fff;
    }

    #nav.sanktnikolaichor {
        background: #c81113;
    }

    #nav .sub li.ueb {
        display: block;
        color: #fff;
        font-size: 1.3em;
        margin-bottom: 1em;
    }

    #nav.sanktnikolaichor .sub a,
    #nav.sanktnikolaichor .sub a:focus,
    #nav.sanktnikolaichor .sub a:visited {
        color: rgba(255,255,255,0.85);
    }

    #nav.sanktnikolaichor .sub a:hover {
        color: #fff !important;
    }

    #nav.sanktnikolaichor .sub li.selected > a,
    #nav.sanktnikolaichor .sub li.selected > a:focus,
    #nav.sanktnikolaichor .sub li.selected > a:visited {
        color: #fff !important;
    }

    #nav {
        background: #ddd;
    }

}

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

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        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 for images, or javascript/internal links
     */

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

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

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

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

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

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