@charset "UTF-8";

body {
  background-image: url(/pic/backgrounds/milky_way_cygnus_blur_2000.webp);
  background-size: cover;
  background-position: center; 
  background-attachment: fixed;
  hyphens: auto;
  -moz-hyphens: auto;
  -epub-hyphens: auto;
  -o-hyphens: auto;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
}

.content {
  padding: 0.75rem;
  min-height: 85vh;
}


p {
  text-align: justify;
  word-break: normal;
  overflow-wrap: break-word;
}




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

.navbottom {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.disclaimer {
  color: #aaaaaa;
  font-size: 0.75rem;
}
.disclaimer a {
  color: #aaaaaa;
}


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

figcaption {
  font-size: 75%;
  text-align: left;
  hyphens: auto;
  -moz-hyphens: auto;
  -epub-hyphens: auto;
  -o-hyphens: auto;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;    
}

table caption {
  text-align: left;
  padding-top: 0.1rem;
  padding-bottom: 0;
  font-size: 75%;
}


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

article {
  counter-reset: figures tables;
}

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 figure.float-start,
article figure.float-sm-start {
  margin-top: 0.25rem;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
  margin-left: 0;
}

article figure.float-end,
article figure.float-sm-end {
  margin-top: 0.25rem;
  margin-right: 0;
  margin-bottom: 0.5rem;
  margin-left: 0.5rem;
}

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

article .supsub, article .subsup {
    display: inline-flex;
    flex-direction: column;
    justify-content: space-between;
    vertical-align: middle;
    font-size: 60%;
}

article .author {
  font-size: 75%;
  text-align: right;
  font-style: italic;
}


/*****************************************************************************/
/* Object List                                                               */
/*****************************************************************************/

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

.objtiles a {
    text-align: center; 
    font-weight: 600; 
    font-size: 0.66rem; 
    display: block; 
    height: 100%; 
    left: 0; 
    position: relative; 
    top: 0; 
    width: 100%; 
    background-size: cover; 
    background-color: #000000;
    color: #ffffff; 
    text-shadow: -2px 0 5px #000000, 0 2px 5px #000000, 2px 0 5px #000000, 0 -2px 5px #000000;
    overflow: hidden;
    line-height: 0.8rem;
}

.objtiles a div {
    left: 0; 
    padding: 0.25rem; 
    position: absolute; 
    bottom: 0; 
    width: 100%; 
}

.objtiles a:hover {
    color: #000000;
    text-shadow: -2px 0 5px #d4d4d4, 0 2px 5px #d4d4d4, 2px 0 5px #d4d4d4, 0 -2px 5px #d4d4d4;
    filter: brightness(120%);
}

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

.teaser {
    grid-template-rows: auto auto auto;
    grid-auto-rows: 0px;
    overflow: hidden;
}

.teaser a:first-child {
    grid-column: 1 / span 2;
    grid-row: 1 / span 2;
    font-size: 0.9rem;
    line-height: 1.2rem;     
}

.teaser .more {
    grid-column: -2 / span 1;
    grid-row: -2 / span 1;
    display: none;
}


/*****************************************************************************/
/* References                                                                */
/*****************************************************************************/

.refs {
    font-size: 0.75rem;
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.refs li {
    padding-left: 1.2rem;
    text-indent: -1.2rem;
    margin-bottom: 0;
    text-align: left;
    break-inside: avoid;
    hyphens: auto;
}


.refs a {
    hyphens: auto;
    word-break: break-all;
    overflow-wrap: break-word;
}

.links {
    margin-left: 1rem;
    padding: 0;
}

.links li {
    text-align: left;
    break-inside: avoid;
}


/*****************************************************************************/
/* 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%;
}

.link-hover { text-decoration: none; }
.link-hover:hover { text-decoration: underline; }


/*****************************************************************************/
/* 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;
}


/*****************************************************************************/
/* Gallery                                                                   */
/*****************************************************************************/

.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;
    background-size: cover;
    background-position: center;
    text-align: center; 
    font-weight: 600; 
    font-size: 0.66rem; 
    color: #ffffff; 
    text-shadow: -2px 0 5px #000000, 0 2px 5px #000000, 2px 0 5px #000000, 0 -2px 5px #000000;
    overflow: hidden;
    line-height: 0.8rem;
    text-decoration: none;
    position: relative; 
    // left: 0; 
    // top: 0;
    // aspect-ratio: var(--ar, 1);
}
.gal_flexbox .item div {
    left: 0; 
    padding: 0.25rem; 
    position: absolute; 
    bottom: 0; 
    width: 100%; 
}

.gal_flexbox .item:hover {
    color: #000000;
    text-shadow: -2px 0 5px #d4d4d4, 0 2px 5px #d4d4d4, 2px 0 5px #d4d4d4, 0 -2px 5px #d4d4d4;
    filter: brightness(120%);
}

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

.gal_flexbox::after {
    content: "";
    flex-grow: 9999;
}

@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; }
}

/*****************************************************************************/
/* Cookie Consent Banner                                                     */
/*****************************************************************************/

#cookie-banner {
    background: #222;
    bottom: 0;
    color: #fff;
    display: none;
    right: 0;
    padding: 0.5em;
    margin: 0.5em;
    position: fixed;
    z-index: 999999;
    font-size: 8pt;
}
#cookie-banner a {
    color: #fff;
    font-size: 8pt;
}



/*****************************************************************************/
/* Media Breakpoints for Responsive Design                                   */
/*****************************************************************************/

@media screen and (max-width: 400px) {
    .content, .navbottom, .disclaimer { 
        padding-left: 0.25rem; padding-right: 0.25rem; 
    }
    article figure.float-start,
    article figure.float-end {
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 1rem;
        float: none !important; 
        width: clamp(250px, 100%, 500px) !important;
    }
}

@media only screen and (min-width: 40rem) { 
    .cols3 { column-count: 2; column-gap: 1rem;} 
}
@media only screen and (min-width: 60rem) { 
    .twocols { column-count: 2; column-gap: 1rem;} 
    .cols3 { column-count: 3; column-gap: 1rem;} 
}