.fluid-row {
  display: flex;
}

.fluid-row__item {
  flex: 0 0 auto;
}

.fluid-row__item img {
  height: 200px;
}

a.video {
  color: blue;
  font-size: 2em;
}

div.bottom a {
  color: black;
}

/* Hide site chrome (header/footer) on arbre pages by default */
#header_lagarde,
#footer {
  display: none !important;
}

body.arbre-show-chrome #header_lagarde,
body.arbre-show-chrome #footer {
  display: block !important;
}

div.arbre {
  position: relative;
  font-family: "Montserrat", sans-serif;
  padding-top: 1em;
  padding-bottom: 1em;
  background-color: #008f00;
}

button.arbre-toggle {
  position: absolute;
  top: 0.4em;
  left: 0.4em;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: white;
  padding: 0.2em 0.55em;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1em;
  line-height: 1;
  z-index: 10;
}

button.arbre-toggle:hover {
  background: rgba(255, 255, 255, 0.3);
}

div.arbre h3,h4,.info {
  color: white;
}

div.arbre h3.nom-autre {
  color: #aaa;
}

div.arbre-meta {
  display: flex;
  justify-content: space-between;
  width: 100%;
  color: white;
  font-size: 0.85em;
  padding: 0.3em 1.5em 1.5em 1.5em;
  box-sizing: border-box;
}

div.artwork {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5em;
  padding: 2em 1em;
}

div.artwork-painting,
div.artwork-video {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6em;
  max-width: 720px;
  width: 100%;
}

div.artwork-painting img {
  max-width: 100%;
  height: auto;
  display: block;
}

div.artwork-video iframe {
  width: 560px;
  max-width: 100%;
  height: 315px;
  display: block;
}

div.artwork-painting p,
div.artwork-video p {
  text-align: center;
  margin: 0;
  font-style: italic;
  font-size: 0.9em;
  color: #444;
}

div.artwork-poem {
  max-width: 720px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6em;
}

div.artwork-poem pre {
  font-family: "Montserrat", sans-serif;
  font-size: 0.95em;
  line-height: 1.6;
  white-space: pre-wrap;
  margin: 0;
  text-align: left;
}

div.artwork-poem p.poem-title {
  font-weight: bold;
  font-style: italic;
  margin: 0;
  text-align: center;
}

div.artwork-poem p.poem-author {
  font-style: italic;
  font-size: 0.9em;
  color: #444;
  margin: 0;
  text-align: center;
}

div.artwork-poem p.poem-translator {
  font-size: 0.78em;
  font-style: italic;
  color: #888;
  margin: 0;
  text-align: center;
}

div.artwork-song {
  max-width: 720px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6em;
}

div.artwork-song pre {
  font-family: "Montserrat", sans-serif;
  font-size: 0.95em;
  line-height: 1.6;
  white-space: pre-wrap;
  margin: 0;
  text-align: left;
}

div.artwork-song p.song-title {
  font-weight: bold;
  font-style: italic;
  margin: 0;
  text-align: center;
}

div.artwork-song p.song-author {
  font-style: italic;
  font-size: 0.9em;
  color: #444;
  margin: 0;
  text-align: center;
}

div.artwork-text {
  max-width: 720px;
  width: 100%;
  padding: 1.4em 1.8em;
  border: 1px solid #008f00;
  box-sizing: border-box;
}

div.artwork-text p {
  font-size: 0.95em;
  line-height: 1.75;
  margin: 0 0 1.1em 0;
}

div.artwork-text p:last-child {
  margin-bottom: 0;
}

div.artwork-text p.text-title {
  font-weight: bold;
  font-style: italic;
  text-align: center;
  margin-bottom: 0.3em;
}

div.artwork-text p.text-author {
  font-style: italic;
  font-size: 0.9em;
  color: #666;
  text-align: center;
  margin-top: 1.2em;
}

p.artwork-source {
  font-size: 0.75em;
  color: #888;
  margin: 0;
  text-align: center;
}

p.artwork-source a {
  color: #888;
  text-decoration: underline dotted;
}

p.artwork-source span {
  cursor: help;
  border-bottom: 1px dotted #aaa;
}

div.artwork a {
  color: blue;
}

div.arbre div.bottom {
  color: black;
  text-align: center;
  margin-top: 10px;
}

div.arbre-content {
  margin: 0;
  padding: 1em 1.5em;
  background-color: white;
}

.arbre-bandeau {
  display: flex;
  gap: 0;
  margin: 0;
  align-items: flex-start;
}

.arbre-bandeau div.image-bandeau {
  overflow: hidden;
  flex-basis: 0;
}

.arbre-bandeau div.image-bandeau img {
  width: 100%;
  height: auto;
  display: block;
}

.arbre-info div {
  /*display: flex; */
  color: white;
}

.info-date {
  border: 1px solid black;
  background-color: #008f00;
  float: left;
}

.info-origine {
  border: 1px solid red;
  background-color: #008f00;
  float: right;
}

div.aime h4 {
  color: black;
}
div.notes h4 {
  color: black;
}

div.aime ul,
div.notes ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

div.aime ul ul,
div.notes ul ul {
  list-style: disc;
  padding-left: 1.5em;
  margin: 0.3em 0;
}

div.aime li,
div.notes li {
  padding: 0.5em 0;
  border-top: 1px solid transparent;
}

#main_content {
  border-radius: 1em;
  overflow: hidden;
  border: 1px solid #008f00;
}

@media screen and (max-width: 500px) {
  #main_page {
    padding: 0;
  }
  #main_content {
    border-radius: 0;
    margin: 0;
  }
  .arbre-bandeau {
    flex-wrap: wrap;
  }
  .arbre-bandeau div.image-bandeau {
    flex: 1 1 100% !important;
  }
}

