@charset "UTF-8";
/*****************************************************************************/
/* http://www.nies.ch/lib/styles.css                                         */
/*****************************************************************************/

body {
  hyphens: auto;
  -moz-hyphens: auto;
  -epub-hyphens: none;
  -o-hyphens: auto;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;    
}


/*****************************************************************************/
/* Page Footer                                                               */
/*****************************************************************************/

.footer {
  max-width: 740px;
  margin: 0 auto 0 auto;
  padding: 5px;
  clear: both;
  font-size: 10pt;
  text-align: center;
}

.footer hr {
  height: 0;
  width: 100%;
  border-top: 0;
  border-left: 0;
  border-right: 0;
  border-bottom: 1px solid #808080;
  margin: 5px 0 5px 0;
  padding: 0;
}

.footer a:hover {
  text-decoration: underline;
}

.footer .bottomMenu {
  list-style: none;
  display: inline;
  padding: 0;
}

.footer .bottomMenu li {
  display: inline;
  padding: 0;
}

.footer .bottomMenu li:not(:first-child):before {
  content: ' | ';
}

.footer .bottomMenu .active, .langsel .active {
  font-weight: bold;
  color: #000000;
  text-decoration: underline;
}

.footer .bottomMenu .disabled, .langsel .disabled {
  color: #aaaaaa;
}

.footer .disclaimer,
.footer .disclaimer a {
  font-size: 8pt;
  color: #aaaaaa;
  text-align: justify;
}




/*****************************************************************************/
/* Page Content                                                              */
/*****************************************************************************/

.content p {
  text-align: justify;
}

.content figcaption {
  font-size: 75%;
  text-align: left;
}

table caption {
  padding-top: 0.1rem;
  padding-bottom: 0.5rem;
  font-size: 75%;
  color: #000000;
}

.code {
  background: #eeeeee;
  color: #000000;
  border: none;
  padding: 0.5em;
}

.content ul {
  overflow: auto;
}



/*****************************************************************************/
/* Gallery Album List                                                        */
/*****************************************************************************/

.albums {
    display: grid; 
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    grid-gap: 0.25rem; 
    justify-content: left;
}

.albums .cover {
  background-position: center;
  background-size: cover;
  border: none;
  color: #000000;
  display: block; 
  height: 100%;
  left: 0;
  margin: 0;
  overflow: hidden;
  padding: 0;
  position: relative;
  text-align: center;
  text-decoration: none;
  top: 0; 
  width: 100%;
}

.cover:after {
  content: "";
  display: block;
  padding-bottom: 100%;
}

.albums .cover:hover {
  color: #606060;
} 

.albums .cover .title {
  display: block;
  font-size: 100%;
  font-weight: bold;
  height: auto;
  left: 0;
  margin: 0;
  padding: 0.5rem;
  position: absolute;
  top: 0; 
  width: 100%;
  text-shadow: -2px 0 5px #ffffff, 0 2px 5px #ffffff, 2px 0 5px #ffffff, 0 -2px 5px #ffffff;
}

.albums .cover .date,
.albums .cover .num { 
  bottom: 0; 
  display: block;
  font-size: 75%;
  font-weight: bold;
  height: auto;
  left: 0;
  margin: 0;
  padding: 0.5rem;
  position: absolute;
  width: 100%;
  text-shadow: -2px 0 3px #ffffff, 0 2px 3px #ffffff, 2px 0 3px #ffffff, 0 -2px 3px #ffffff;
}



/*****************************************************************************/
/* Video Gallery                                                             */
/*****************************************************************************/

.vidgrid {
    display: grid; 
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr)); 
    grid-gap: 0.5rem; 
    justify-content: left;
}

@media all and (max-width: 999px) {
    .vidgrid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}



/*****************************************************************************/
/* Grid Style                                                                */
/*****************************************************************************/

.gal_grid {   
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    grid-gap: 0.5rem;
}

.gal_grid .item {
    max-width: 100%;
    margin: 0;
    padding: 0;
    break-inside: avoid-column;
}
.gal_grid .item img {
    width: 100%;
    height: auto;
    object-fit: cover;
    aspect-ratio: 1;
}

.gal_grid .item figcaption {
    margin-bottom: 0.25rem
}



/*****************************************************************************/
/* Fake Masonry Grid Style                                                   */
/*****************************************************************************/

.gal_columns {   
    column-width: 250px;
    column-gap: 0.5em;
}

.gal_columns .item {
    max-width: 100%;
    margin: 0;
    padding: 0;
    break-inside: avoid-column;
}
.gal_columns .item img {
    width: 100%;
    height: auto;
    object-fit: cover;
    aspect-ratio: auto;
}

.gal_columns .item figcaption {
    margin-bottom: 0.25rem
}



/*****************************************************************************/
/* Gallery Figures Overview Page                                             */
/*****************************************************************************/

.gal_flexbox {
    display: flex;
    flex-flow: row wrap;
    justify-content: flex-start;
    align-content: flex-start;
    gap: 2px;
}
.gal_flexbox .item {
    display: block;
    height: 6rem;
    margin: 0;
    padding: 0;
    flex: 1 1 auto;
}

.gal_flexbox .last-item {
    margin: 0;
    padding: 0;
    flex-grow: 1000;
}

.gal_flexbox img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}
.gal_flexbox figcaption {
    display: none;
}

.figlink {
    color: inherit; 
    font-weight: bold; 
    text-decoration: none;
}

.figlink:hover {
    text-decoration: underline;
    color: inherit; 
}


@media (min-width: 576px) {
    .gal_flexbox .item { height: 7rem; }
}

@media (min-width: 768px) {
    .gal_flexbox .item { height: 8rem; }
}

@media (min-width: 992px) {
    .gal_flexbox .item { height: 9rem; }
}



/*****************************************************************************/
/* Slide Show Page                                                           */
/*****************************************************************************/

.slide {
  margin: 1em auto 1em auto; 
  position: relative;
}

.slide .frame {
  border: none;
  margin: 0 auto 0 auto;
  padding: 0;
  position: relative;
  top: 0;
  left: 0;
}

.slide .frame .photo {
  margin: 0;
  padding: 0;
  border: 1px solid black;
  vertical-align: bottom;
  width: 100%; 
  height: auto;
}

.slide .frame a {
  border: none;
}

.slide h4 {
  font-size: 100%;
  border: none;
  font-weight: bold;
  margin: 0.5em 0 0 0;
}

.slide p { 
  text-align: justify;
  margin: 0 0 1em 0;
}


#buttonClose,
#buttonPrev,
#buttonNext {
  border: none;
  color: #cccccc;
  font-size: 40px;
  height: 40px;
  width: 40px;
  line-height: 40px;
  opacity: 0.5;
  padding: 0;
  text-align: center;
  text-decoration: none;
  text-shadow: -2px 0 black, 0 2px black, 2px 0 black, 0 -2px black;
  vertical-align: middle;
  visibility: hidden;
  position: absolute;
  z-index: 1;
}

#buttonClose { 
  margin: 0;
  top: 5px;
  right: 5px;
}

#buttonPrev { 
  left: 5px;
  margin: -20px 0 0 0;
  top: 50%;
}

#buttonNext { 
  margin: -20px 0 0 0;
  right: 5px;
  top: 50%;
}

.frame:hover #buttonClose, 
.frame:hover #buttonPrev, 
.frame:hover #buttonNext {
  visibility: visible;
}


/*****************************************************************************/
/* Entry Page                                                                */
/*****************************************************************************/

#entry {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    grid-template-rows: 1fr 1fr 1fr 1fr;
    grid-template-areas:
        "l1 banner r1"
        "l2 banner r2"
        "l3 banner r3"
        "l4 banner r4";
    grid-row-gap: 0.25rem;
    grid-column-gap: 0.25rem;
    height: 600px;
}

#entry a {
    background-position: center; 
    background-repeat: no-repeat; 
    background-size: cover;
    color: #000000;
    text-decoration: none;
    font-size: 2rem;  
    font-weight: bold;
    text-shadow: -2px 0 5px #ffffff, 0 2px 5px #ffffff, 2px 0 5px #ffffff, 0 -2px 5px #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0.25rem;
}

#entry a:hover {
    color: #606060;
    text-decoration: none;
}

#entry #banner {
    background-position: center; 
    background-repeat: no-repeat; 
    background-size: cover;
    height: 100%;
    margin: 0;
}

@media screen and (max-width: 419px) {
  #entry { grid-template-columns: 1fr auto 1fr; grid-column-gap: 0.125rem;}
  #entry a { font-size: 1.2rem; }
  #entry #banner { display: none; }
}

@media screen and (min-width: 420px) and (max-width: 919px) {
  #entry { grid-template-columns: 1fr 1fr 1fr;}
  #entry a { font-size: 1.5rem; } 
}





/*****************************************************************************/
/* Article Preview Styles                                                    */
/*****************************************************************************/

.preview {
  clear: both;
  overflow: hidden;
  margin-bottom: 1em;
}

.preview h3, 
.preview h4, 
.preview p {
  margin: 0;
  clear: none;
}

.preview .issue {
  font-size: 75%;
}

.preview figure {
  float: left;
  padding: 0;
  margin: 0 10px 0 0;
  width: 200px;
}

.preview figure img {
  box-sizing: border-box;
  display: block;
  border: 1px solid #000000;
  border-radius: 5px;
  padding: 0;
}

@media screen and (max-width: 419px) {
  .preview figure { float: none; margin: 0 auto 0 auto; }
}

@media screen and (min-width: 420px) and (max-width: 919px) {
  .preview figure { float: left; margin: 0 10px 0 0; }
}

@media screen and (min-width: 920px) {
  .preview figure { float: left; margin: 0 10px 0 0; }
}



/***************************************************************************************/
/* Imprint Portraits                                                                   */
/***************************************************************************************/

.portraits {
  vertical-align: bottom;
  text-align: left;
  display: block;
  overflow: visible;
  height: auto;
  width: 100%;
}

.portraits img {
  vertical-align: bottom;
  display: inline-block;
  margin: 0;
  padding: 0;
  border: 1px solid #ffffff;
  border-radius: 5%;
  box-sizing: border-box;
}

#seconds {
  width: 12em; 
  height: 1em;
}




/***************************************************************************************/
/* Link Lists                                                                          */
/***************************************************************************************/

.linklist {
  list-style-type: disc;
  margin-left: 0; 
  padding-left: 1.5em;
  column-count: 2; 
  column-gap: 1.5em;
}

.linklist li {
  text-align: left;
}



/*****************************************************************************/
/* Article Styles                                                            */
/*****************************************************************************/

article {
  counter-reset: figures tables;
}

article .pdflink {
  clear: both;
  margin-top: 1em;
}

article .pdflink img {
  vertical-align: middle;
}

article figure {
  text-align: left;
  overflow: hidden;
  margin: 0 auto 10px auto;  
}

article figure img {
  box-sizing: border-box;
  display: block;
  border: 1px solid #000000;
  border-radius: 5px;
  padding: 0;
  margin: 0 auto 2px auto;
}

article figure figcaption:lang(de):before {
  content: 'Abb. ' counter(figures) ': ';
  counter-increment: figures;
  font-weight: bold;
}

article figure figcaption:lang(en):before {
  content: 'Fig. ' counter(figures) ': ';
  counter-increment: figures;
  font-weight: bold;
}

article div.left,
article figure.left {
  float: left;
  margin: 0 10px 10px 0;
}

article div.right,
article figure.right {
  float: right;
  margin: 0 0 10px 10px;
}

article div.center,
article figure.center {
  float: none;
  margin: 0 auto 10px auto;
}

article .fig800 {
  padding: 0;
  margin: 0 auto 0.5rem auto;
  max-width: 800px;
}

article .fig200 {
  padding: 0;
  margin: 0 0 0.5rem 0;
  width: 200px;
}

article table caption:before {
  content: 'Tab. ' counter(tables) ': ';
  counter-increment: tables;
  font-weight: bold;
}

article dl dd {
  margin-left: 3em;
}

article table h3,
article table h4 {
  margin-top: 0;
  margin-bottom: 0.2em;
}


/*****************************************************************************/
/* Bootstrap Override / Addon                                                */
/*****************************************************************************/

.table-xs th,
.table-xs td {
  padding: 0.1rem 0.3rem 0.1rem 0.3rem;
  font-size: 90%;
}

.table-xxs th,
.table-xxs td {
  padding: 1px;
  font-size: 75%;
}

.table .thead-dark th {
  color: #fff;
  background-color: #404080;
  border-color: #505090;
  vertical-align: top;
}

.tooltip {
  line-height: 1.4;
  font-size: 0.75rem;
}



/*****************************************************************************/
/* Override Fancybox Styles                                                  */
/*****************************************************************************/

.fancybox__caption {
  color: #cccccc;
  padding: 0.25rem;
  font-size: 0.75rem;
}

.fancybox__caption a,
.fancybox__caption a:visited,
.fancybox__caption a:active,
.fancybox__caption a:hover {
  color: #ffff;
  text-decoration: underline;
}

.fancybox__slide {
  padding: 0;
}



/*****************************************************************************/
/* 1, 2 or 3 Columns                                                         */
/*****************************************************************************/

@media screen and (max-width: 419px) {
  .col123 { column-count: 1; }
}

@media screen and (min-width: 420px) and (max-width: 919px) {
  .col123 { column-count: 2; column-gap: 1rem; }
}

@media screen and (min-width: 920px) {
  .col123 { column-count: 3; column-gap: 1rem; }
}

