/* Complementary layout rules for Thomas Hueber's static pages.
   Loaded after the laboratory stylesheet; keeps the historical 950px frame. */

#contenu {
  line-height: 1.55;
}

#contenu p {
  margin: 0 0 0.85em;
}

#contenu p:empty {
  margin: 0;
}

#contenu h1,
#contenu h2,
#contenu h3,
#contenu h4 {
  line-height: 1.25;
  margin: 1.35em 0 0.55em;
}

#contenu > h1:first-child,
#contenu > h2:first-child,
#contenu > h3:first-child,
#contenu > h4:first-child {
  margin-top: 0;
}

#contenu ul,
#contenu ol {
  margin: 0.35em 0 1em 1.45em;
}

#contenu li {
  margin: 0.25em 0 0.35em;
}

#contenu img {
  max-width: 100%;
  height: auto;
}

#contenu img[src$="arrow.gif"] {
  width: 15px;
  height: 15px;
  margin-right: 4px;
  vertical-align: text-bottom;
}

#contenu .img_float {
  max-width: 42%;
  height: auto !important;
  margin: 0.2em 1.2em 0.8em 0;
  float: left;
}

#contenu iframe {
  display: block;
  max-width: 100%;
  margin: 1em 0 1.6em;
  border: 0;
}

#contenu iframe[src*="youtube"] {
  width: 640px;
  aspect-ratio: 16 / 9;
  height: auto;
}

.menu_perso {
  padding-top: 0.25em;
}

.menu_perso p {
  margin: 0 0 0.35em;
}

.sign {
  margin-top: 0.35em;
}

.news-banner {
  clear: both;
  margin: 0.4em 0 1.4em;
  padding: 0.75em 0.9em;
  border-left: 4px solid #B446BB;
  background: #f7f7f7;
}

.cont_infos .news-banner {
  margin-top: 0;
  margin-bottom: 1.2em;
}

.news-heading {
  margin: 0 0 0.5em;
  color: #676767;
  font-size: 14px;
  font-weight: bold;
  text-transform: uppercase;
}

.news-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.news-item {
  margin: 0.45em 0;
  padding: 0;
}

.news-date {
  display: inline-block;
  min-width: 8.5em;
  color: #777;
  font-size: 12px;
}

.cont_infos .news-date {
  display: block;
  min-width: 0;
  margin-bottom: 0.2em;
}

.cont_infos .news-item strong,
.cont_infos .news-text {
  display: block;
}

.news-item strong {
  margin-right: 0.35em;
}

.news-text {
  margin-right: 0.25em;
}

.cont_cv {
  padding-bottom: 0.6em;
}

.cont_cv p {
  margin-bottom: 0.85em;
}

.cont_cv blockquote {
  margin: 0 0 1em;
  padding-left: 0.75em;
  border-left: 3px solid #eeeeee;
}

.cont_cv blockquote p {
  margin-bottom: 0.65em !important;
  line-height: 1.45 !important;
}

.cont_cv ul {
  margin-bottom: 1em;
}

.cont_cv li {
  margin-bottom: 0.35em;
}

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

.social-links {
  margin: 0.85em 0 0.2em !important;
  padding: 0;
  list-style: none;
}

.social-links li {
  display: inline-block;
  margin: 0 0.55em 0.55em 0;
  vertical-align: middle;
}

.social-links a {
  display: inline-block;
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-decoration: none;
}

.social-links a:hover,
.social-links a:focus {
  opacity: 0.82;
}

.social-links img {
  display: block;
  width: 40px;
  height: 40px;
  border: 0;
  object-fit: contain;
}
