/*
css-file for small changes in munich-quantum-valley by selected editors
*/

body {
  -webkit-hyphens: auto !important;
  -moz-hyphens: auto !important;
  -ms-hyphens: auto !important;
  -o-hyphens: auto !important;
  hyphens: auto !important;
}

/* round off images except in cards and full-width settings (heros) */
img:not(.card *):not(.carousel *):not(.ce-image__fullwidth *) {
  border-radius: 0.4rem;
}

.frame-layout-3 {
  border-radius: 0.4rem;
}
.frame-layout-3 .container.bg-default.mp-container {
  margin: 0;
}
.frame-layout-3 .container.bg-default.mp-container h2:first-child {
  margin-top: 0;
}

.lead { /* ggf. mit .news .lead.news-text spezifizieren */
  font-style: italic;
  font-size: 1.15rem;
  margin-bottom: 1.5rem;
}

#page_17 table > tbody > tr > td:nth-of-type(1), #page_17 table > tbody > tr > td:nth-of-type(4) {
  white-space: nowrap;
}

/* adjust cards footer on In Persona page */
#page_216 p.small {
  margin-bottom: 0;
  margin-block-end: 0;
}
#page_216 p.small a {
  text-decoration: underline;
}

table.contenttable td {
  padding: 10px;
}

/* touching up the look if news/events lists */
.news-list {
  box-shadow: none;
  /* border: 1px solid #eee; */
  border: 0;
}

.news {
  padding: 0;
}

.news p {
  font-weight: 400;
}

/* scroll position for direkt links to lighthouse and professors pages */
#page_61 div, #page_63 div {
  scroll-margin-top: 100px;
}

/* scroll position for direkt links to quantum-glossary page */
#page_88 div {
  scroll-margin-top: 100px;
}

/* avoid strange margin especially for portraits */
.ce-column {
    margin-right: 0;
}

/* moving date and 'Read more...' to the bottom of cards on the In Persona page */
#page_216 div.card div.card-body {
    display: flex;
    flex-flow: column nowrap;
}
#page_216 div.card div.card-body figure.table {
    margin-top: auto;
}

/* adjust table width in figure environment (e.g. adjust cards for In Persona page) */
figure.table[style*="width:100%;"] table.contenttable {
    width: 100%;
}

@media print {
  .zone-header {
    display: none;
    height: 0;
  }
  .zone-header.shrink .navbar {
    height: 0;
  }
  .zone-header .navbar {
    height: 0;
  }
  footer {
    display: none;
    height: 0;
  }
  .btn.btn-default.btn-read-more {
    display: none;
  }
}