
/*
 * organization: Logilab
 * copyright: 2020 LOGILAB S.A. (Paris, FRANCE), license is LGPL.
 * contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
 *
 * This program is free software: you can redistribute it and/or modify it under
 * the terms of the GNU Lesser General Public License as published by the Free
 * Software Foundation, either version 2.1 of the License, or (at your option)
 * any later version.
 *
 * This program is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
 * details.
 *
 * You should have received a copy of the GNU Lesser General Public License along
 * with this program. If not, see <http://www.gnu.org/licenses/>..
 */

@font-face {
  font-family: "Roboto Condensed";
  font-style: normal;
  font-weight: 300;
  src: url("fonts/RobotoCondensed-Light.ttf") format("truetype");
}

@font-face {
  font-family: "Roboto Condensed";
  font-style: italic;
  font-weight: 300;
  src: url("fonts/RobotoCondensed-LightItalic.ttf") format("truetype");
}

@font-face {
  font-family: "Roboto Condensed";
  font-style: normal;
  font-weight: 400;
  src: url("fonts/RobotoCondensed-Regular.ttf") format("truetype");
}

@font-face {
  font-family: "fonts/Roboto Condensed";
  font-style: italic;
  font-weight: 400;
  src: url("fonts/RobotoCondensed-Italic.ttf") format("truetype");
}

@font-face {
  font-family: "Roboto Condensed";
  font-style: normal;
  font-weight: 700;
  src: url("fonts/RobotoCondensed-Bold.ttf") format("truetype");
}

@font-face {
  font-family: "Roboto Condensed";
  font-style: italic;
  font-weight: 700;
  src: url("fonts/RobotoCondensed-BoldItalic.ttf") format("truetype");
}

@font-face {
  font-family: "Corporate S Bold";
  font-style: normal;
  font-weight: 700;
  src: url("fonts/CorporateS-Bold.ttf") format("truetype");
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Roboto Condensed";
  font-size: 0.75em;
  background: url(images/bg_site.jpg) repeat-x #e7ecf0;
  line-height: normal;
  color: #000;
}

body {
  font-size: 14px;
  line-height: normal;
}

h1 {
  font-size: 24px;
  line-height: 30px;
  margin: 0 0 9px 0;
}

:root {
  --color-person: #1f77b4a1;
  --color-org: #ff7f0ea1;
  --color-work: #2ca02ca1;
  --color-rameau: #d62728a1;
  --color-geo: #9467bda1;
  --color-event: #8c564ba1;
  --color-performance: #e377c2a1;
  --color-periodic: #7f7f7fa1;
}

.table .table {
  all: unset; /*boostrap stuff */
}

.table {
  all: unset; /*boostrap stuff */
  display: table;
  width:100%;
}

.row {
  all: unset;  /*boostrap stuff */
  display: table-row;
  position: relative;
}

.cell {
  display: table-cell;
  vertical-align: middle;
  padding-top: 0.3rem;
  padding-bottom: 0.3rem;
}

.cell[itemProp="datePublished"] {
    padding-left: 0.3rem;
    padding-right: 0.3rem;
}

.du-subtitle {
  font-size: 80%;
  font-weight: bold;
}

.h1-auteur {
  color: #00509c;
  padding-bottom: 4px;
}
.h1-auteur a {
  color: #00509c;
}
.h1-auteur ul {
  list-style: none;
}

h2 {
  color: #1a4666;
  font-size: 1.35em;
  font-weight: normal;
  line-height: 28px;
  margin: 5px 0 16px;
}

h3 {
  font-size: 19px;
  line-height: 25px;
}

img {
  vertical-align: middle;
}

a:hover {
  color: #1a4666;
}

a img {
  border: none;
}

form {
  margin: 0;
  padding: 0;
}

input {
  vertical-align: middle;
}

.container {
  width: 1180px;
  padding-left: 4px;
  padding-right: 4px;
}

.col-lg-3,
.col-lg-4,
.col-md-5,
.col-sm-9,
.col-lg-9,
.col-xs-12 {
  padding-left: 4px;
  padding-right: 4px;
}

.bloc {
  margin-bottom: 10px;
}

.bloc .bloc-contenu-inner {
  padding: 10px 20px;
}

.cartouche-infos {
  padding: 20px;
  margin-bottom: 16px;
  border-top: 1px solid #a4a4a4;
}

.cartouche-infos .visuel img {
  border: 1px solid #adadad;
  float: left;
  width: 129px;
  margin-right: 37px;
  -moz-box-shadow: 5px 5px 5px 0 #656567;
  -webkit-box-shadow: 5px 5px 5px 0 #656567;
  -o-box-shadow: 5px 5px 5px 0 #656567;
  box-shadow: 5px 5px 5px 0 #656567;
}

.cartouche-infos .recommended-by-data img,
.cartouche-infos .recommended-by-data button {
  border: 3px solid #0060bc;
}

.cartouche-infos .recommended-by-data::before {
  content: url(images/recommended-gallica-btn.png);
  position: relative;
  height: 0px;
  display: block;
  left: 109px;
  top: -13px;
}

@media (max-width: 769px) {
  .cartouche-infos .recommended-by-data::before {
    left: -15px;
  }
}

.itemlist-details__actions .cell {
  width: 20px;
  height: 20px;
  margin-bottom: 0px;
  margin-top: 0px;
}

.fa-download:hover {
  cursor: pointer;
}
.fa-download::before {
  content: "";
  background: url(images/download-btn.png) no-repeat center center;
  background-size: 20px;
  display: flex;
  height: 20px;
  width: 20px;
}
.fa-download.recommended-by-data::before {
  background: url(images/recommended-download-btn.png) no-repeat center center;
  background-size: 20px;
  border-radius: 5px;
}

.gallica-link {
  cursor: pointer;
}
.gallica-link-intra-only {
  cursor: default;
}

.gallica-link::before {
  content: "";
  display: flex;
  background: url(images/gallica-btn.png) no-repeat center center;
  border-radius: 5px;
  background-size: 17px;
  height: 17px;
  width: 17px;
}
.gallica-link-intra::before {
  background: url(images/gallica-intra-muros-btn.png) no-repeat center center;
}
.gallica-link-intra-only::before {
  background: url(images/gallica-intra-muros-only.png) no-repeat center center;
}
.recommended-by-data::before {
  background: url(images/recommended-gallica-btn.png) no-repeat center center;
  border-radius: 5px;
  background-size: 17px;
  height: 17px;
  width: 17px;
}

.cartouche-infos .informations {
  float: left;
  width: 617px;
}

.cartouche-infos .informations table {
  width: 100%;
  border-collapse: collapse;
  border: none;
}

.cartouche-infos .informations table td {
  padding: 6px 0;
}

.cartouche-infos .informations table td:first-child {
  white-space: nowrap;
  padding-right: 6px;
  color: #6a6a6a;
}

.cartouche-infos .informations table td:last-child {
  width: 100%;
}

.cartouche-infos .informations a {
  font-weight: bold;
  color: #00509c;
}

@media (max-width: 768px) {
  .cartouche-infos .visuel {
    display: none;
  }
  .cartouche-infos .visuel-mobile img {
    cursor: pointer;
  }
}

@media (min-width: 769px) {
  .cartouche-infos .visuel-mobile {
    display: none;
  }
}

.bloc-baspage {
  display: inline-block;
  width: 272px;
  padding-right: 20px;
  vertical-align: top;
}

.bloc-baspage ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.bloc-baspage:first-child li {
  padding: 2px 0 3px 24px;
}

.bloc-baspage:first-child li:first-child {
  background-position: left 4px;
}

.bloc-baspage:first-child li:first-child + li {
  background-position: left -25px;
}

.bloc-baspage:first-child li:first-child + li + li {
  background-position: left -51px;
}

.bloc-baspage input[type="text"] {
  width: 182px;
}

.bloc-baspage .shareicons {
  margin-top: 10px;
}

.bloc-baspage .shareicons img {
  margin-right: 4px;
}

.recherche-bloc {
  margin-left: 23px;
}

.recherche-bloc .label-bloc {
  background: url(images/zone-recherche.gif) left 9px no-repeat;
  padding: 13px 0 4px 31px;
  min-height: 36px;
  color: #1f3f57;
  font-size: 0.85em;
  margin: 10px 0 12px;
  border-top: 1px dotted #a2a2a2;
}

.recherche-bloc .label-bloc:first-child {
  border-top: none;
  padding-top: 4px;
  background-position: left top;
  min-height: 26px;
  margin-top: 0;
}

.recherche-bloc ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.recherche-bloc ul li {
  padding: 3px 0;
}

footer {
  background: #f1f1f1;
  margin-top: 42px;
  position: relative;
  text-align: center;
  font-size: 0.92em;
  padding: 0.5em;
}

footer .container {
  position: relative;
}

footer a {
  color: #23262a;
}

.returntop {
  position: absolute;
  bottom: 12px;
  right: 15px;
  height: 100%;
}

.returntop:before {
  content: "";
  display: block;
  height: calc(100vh + 30px);
  pointer-events: none;
}

.returntop a {
  position: sticky;
  top: 90vh;
  cursor: pointer;
  font-size: 20px;
  padding: 15px;
  background-color: #9e9e9e;
  border-radius: 4px;
  z-index: 9999;
  color: white;
}

.returntop a:hover {
  background-color: #07549e;
}

@media (max-width: 768px) {
  .returntop {
    right: calc(50% - 24px);
  }
}

footer .maj {
  background: url(images/picto_maj.gif) no-repeat;
  display: inline-block;
  padding-left: 23px;
  line-height: 18px;
  height: 18px;
  left: 0;
  top: 7px;
}

div.visuel img,
div.visuel-mobile img {
  max-height: 207px;
  max-width: 129px;
  /* let browser handle image resize. (IE<8 will fail)
   */
  height: auto;
}

.floating-nav {
  background-color: white;
  border-radius: 6px;
  box-shadow: 1px 1px 5px 3px rgba(3, 3, 3, 0.1);
  margin-left: -5px;
  position: sticky;
  top: 90px;
  float: left;
  max-height: calc(100vh - 20px);
  width: 200px;
  overflow-y: auto;
}

@media (min-width: 768px) {
  .floating-nav {
    display: block;
  }
}

@media (max-width: 768px) {
  .floating-nav {
    display: none;
  }
}

.floating-nav ul {
  margin: 0;
  padding: 0;
}

.floating-nav > ul > li > ul > li > a {
  padding-left: 2rem;
}

.floating-nav li {
  list-style-type: none;
}

.floating-nav li:not(:last-child) {
  border-bottom: 1px solid rgba(3, 3, 3, 0.2);
}

.floating-nav li:not(.active) > a {
  color: #6a6a6a;
}

/* reduce the font size of subsection links */
.floating-nav li li > a {
  font-size: 0.95em;
}

.floating-nav li > a {
  border-left: 5px solid transparent;
}

/* show first active section with a blue border */
.floating-nav > ul > :nth-child(1 of li.active) > a {
  border-left: 5px solid #00509c;
}

/* show first active subsection in the first active section, with a light blue
 * border */
.floating-nav :nth-child(1 of li.active) :nth-child(1 of li.active) > a {
  border-left: 5px solid #74b6ffd6;
}

/* Hide the content of active section when they are not the first active one */
.floating-nav > ul > :not(:nth-child(1 of li.active)) > ul {
  display: none;
}

/* Hide subsection when they are not active */
.floating-nav li:not(.active) > ul {
  display: none;
}

/* finally, show blue border when hover links */
.floating-nav li:hover > a {
  border-left: 5px solid #00509c;
}

.floating-nav li > a {
  color: inherit;
  display: block;
  padding: 0.8em;
}

body > .container-fluid {
  min-height: calc(100vh - 150px);
}

@media (max-width: 600px) {
  .container-fluid,
  .container-fluid > * {
    padding: 0;
  }
}

body {
  background-color: #e7ecf0;
  margin: 0 !important;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 0 !important;
  position: relative;
}

a {
  color: #00509c;
  text-decoration: none;
}

h2.doctitle {
  border-top: 2px dashed grey;
  color: rgb(51, 51, 51);
  font-size: 1.5em;
  margin-top: 1em;
  padding-top: 1em;
}

h2.doctitle span {
  font-weight: bold;
}

.collapse-wrapper h3 {
  color: black;
  background-color: #3785e0;
  padding: 0.2rem 0em;
  margin-bottom: 0px;
}

.collapse-wrapper h3:first-letter {
  text-transform: capitalize;
}

.collapse-wrapper h3 span {
  font-weight: bold;
}

.collapse-wrapper {
  background: #f0f0f0;
  border: 1px solid lightgray;
  padding: 0 1em 1em;
  scroll-margin-top: 73px;
}

.collapse-trigger:hover {
  cursor: pointer;
}

.page-container,
#facet-bloc {
  background-color: white;
  border-radius: 6px;
  box-shadow: 1px 1px 5px 3px rgba(3, 3, 3, 0.1);
  padding: 2em;
}

#facet-bloc {
  display: flex;
  z-index: 10;
}

@media (min-width: 768px) {
  .page-container {
    margin-left: 210px;
  }
}

@media (max-width: 768px) {
  .outils-container,
  .bloc {
    margin-left: 0px;
    width: 100%;
  }
}

.index-page .page-container {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  margin-left: 25em; /* 22em for facet bloc width + 3em of margin */
}

.index-page {
  flex-direction: row;
  align-items: flex-start;
}

@media (max-width: 768px) {
  .page-container,
  .index-page .page-container {
    margin-left: 0;
  }
  .index-page #facet-bloc {
    position: relative;
    width: auto;
    flex-grow: 1;
    margin-right: 0px;
  }
  #reactapp-index .index-page {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (max-width: 600px) {
  .page-container {
    border-radius: 0;
  }
}

.page-container h1 {
  font-weight: bold;
}

.chevron-down,
.chevron-up {
  height: 20px;
  width: 20px;
}

.chevron-down {
  background: url("images/chevron_down.png") right top no-repeat;
}

.chevron-up {
  background: url("images/chevron_up.png") right top no-repeat;
}

.catalog-search-link {
  color: #000;
  display: block;
  margin: 1em auto auto;
  text-align: center;
}

.picto-studio {
  background: url("images/picto-atelier.png") left top no-repeat;
  display: inline-block;
  height: 30px;
  width: 30px;
}

.title-right {
  float: right;
  display: flex;
}

.collapse-button {
  display: block;
  padding: 0.2em;
  margin-left: 0.5em;
}

.actions {
  float: right;
}

.page_title {
  overflow: hidden;
}

.page_title h1 {
  float: left;
}

.work-author {
  font-size: 24px;
  font-weight: bold;
  padding-left: 1.5em;
  margin-bottom: 7.5px;
  display: inline-block;
}

.work-authors {
  display: inline-grid;
  float: left;
}

.collapse:hover {
  cursor: pointer;
}

.itemlist {
  border-collapse: collapse;
  width: 100%;
}

.itemlist > .cell {
  padding: 0.5em 5px;
}

.itemlist-details {
  font-size: 115%;
}

.item-indirect-role {
  color: grey;
}

.itemlist-details__info {
  flex-wrap: wrap;
}

.itemlist-item {
  vertical-align: middle;
}

.itemlist-item.even {
  background-color: #dce6f1;
}

.index-block .itemlist-item.odd {
  background-color: #dce7f1;
}
.index-block .itemlist-item.even {
  background-color: #f0f0f0;
}

.itemlist-details__actions {
  display: flex;
  flex-direction: row;
  justify-content: end;
  vertical-align: middle;
  text-align: center;
}

.itemlist-details__actions .pdfdownload a {
  color: #00509c;
}

.itemlist-details__actions a.catalog-link::before {
  content: "";
  display: flex;
  background: url(images/catalog-icon.png) no-repeat center center;
  background-size: contain;
  height: 17px;
  width: 17px;
  border-radius: 5px;
}

.itemlist-details__actions a.catalog-link[href*="archivesetmanuscrits.bnf.fr"]::before {
  background: url(images/bam-icon.png) no-repeat center center;
  background-size: contain;
}


.itemlist-details__actions a.catalog-link[href*="ark.bnf.fr"]::before {
  background: url(images/expo-virtuelle-icon.png) no-repeat center center;
  background-size: contain;
}

.itemlist-details__actions a.information {
  background-color: transparent;
  border: none;
  color: #888;
}

@media (min-width: 1200px) {
  .sidebar-right {
    margin-left: 0;
    margin-top: 0;
    padding-right: 15px;
    position: sticky;
    top: 90px;
    right: 1px;
  }

  .outils {
    margin-left: 210px;
  }
}

@media (max-width: 1200px) {
  .sidebar-right,
  .outils-container {
    margin-left: 0px;
    width: 100%;
  }

  .sidebar-right .bloc,
  .outils {
    margin-top: 2em;
    margin-left: 210px;
  }
}

@media (max-width: 768px) {
  .sidebar-right,
  .index-sidebar.sidebar-right {
    margin-left: 0;
  }
}

.sidebar-right {
  z-index: 1;
}

.sidebar-right > div.bloc {
  background-color: white;
  border-radius: 6px;
  box-shadow: 1px 1px 5px 3px rgba(3, 3, 3, 0.1);
  margin-bottom: 2em;
}

@media (max-width: 600px) {
  border-bottom: solid 1px grey;
  box-shadow: none;
  margin-bottom: 0;
  .sidebar-right > div.bloc {
    border-radius: 0;
  }
}

.sidebar-right h2 {
  color: #1a4666;
  font-weight: bold;
}

.bloc-contenu {
  padding: 0.5em;
}

.cartouche-infos {
  background: linear-gradient(white, #e0e3e7);
  background-color: #f0f0f0;
  border-top: 1px solid #a4a4a4;
  margin-bottom: 16px;
  overflow: auto;
  padding: 20px;
  padding-top: 0;
}

.autocreated-work {
  background: linear-gradient(white, #d64a4a);
}

.cartouche-infos > div {
  margin-top: 20px;
}

div.visuel img {
  height: auto;
  max-height: 207px;
  max-width: 129px;
}

.cartouche-infos .informations {
  float: left;
  width: calc(100% - 170px);
}
@media (max-width: 768px) {
  .cartouche-infos .informations {
    width: 100%;
  }
}

.cartouche-infos .informations table {
  border: none;
  border-collapse: collapse;
  width: 100%;
}

.cartouche-infos .informations table td {
  padding: 6px 0;
  vertical-align: top;
}

.cartouche-infos .informations table td:first-child .lien {
  color: #6a6a6a;
  font-weight: normal;
}

.cartouche-infos .informations table td:first-child {
  color: #6a6a6a;
  padding-right: 6px;
  white-space: nowrap;
}

.cartouche-infos .informations a {
  color: #00509c;
  font-weight: bold;
}

@media (max-width: 768px) {
  .sidebar-right .bloc,
  .outils {
    margin-left: 0px;
  }
}

.outils {
  background-color: white;
  border-radius: 6px;
  box-shadow: 1px 1px 5px 3px rgba(3, 3, 3, 0.1);
  margin-top: 2em;
  padding: 2em;
}

.bloc-baspage {
  display: inline-block;
  padding-right: 20px;
  vertical-align: top;
  width: 100%;
}

.bloc-baspage ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.bloc-baspage:first-child li {
  padding: 2px 0 3px 24px;
}

.bloc-baspage:first-child li:first-child {
  background-position: left 4px;
}

.bloc-baspage:first-child li:first-child + li {
  background-position: left -25px;
}

.bloc-baspage:first-child li:first-child + li + li {
  background-position: left -51px;
}

.bloc-baspage input[type="text"] {
  width: 182px;
}

.bloc-baspage .shareicons {
  margin-top: 10px;
}

.bloc-baspage .shareicons img {
  margin-right: 4px;
}

.actions > a {
  color: inherit;
  font-size: 2em;
}

@media (max-width: 768px) {
  footer {
    display: none;
  }
}

footer > .container {
  max-width: 1180px;
  width: 100%;
}

div.bloc-baspage .question {
  background: url(images/pictos_outils.gif) no-repeat 5px 1px;
  padding: 0 27px 0 23px;
}

div.bloc-baspage .imprimer {
  background: url(images/pictos_outils.gif) no-repeat 4px -30px;
  padding: 0 29px 0 23px;
}

div.bloc-baspage .exporter {
  background: url(images/pictos_outils.gif) no-repeat left -90px;
  padding-left: 23px;
}

.react-autosuggest__suggestion {
  border-bottom: 1px solid #d7d6d6a1;
  cursor: pointer;
}

.react-autosuggest__container .match {
  color: black;
}

.react-autosuggest__section-title .etype {
  font-weight: bold;
}

.react-autosuggest__section-title .etype.person {
  color: var(--color-person);
}
.react-autosuggest__section-title .etype.org {
  color: var(--color-geo);
}
.react-autosuggest__section-title .etype.work {
  color: var(--color-work);
}
.react-autosuggest__section-title .etype.rameau {
  color: var(--color-rameau);
}
.react-autosuggest__section-title .etype.geo {
  color: var(--color-geo);
}
.react-autosuggest__section-title .etype.event {
  color: var(--color-event);
}
.react-autosuggest__section-title .etype.performance {
  color: var(--color-performance);
}
.react-autosuggest__section-title .etype.periodic {
  color: var(--color-periodic);
}

.react-autosuggest__container .match.person {
  background-color: var(--color-person);
}
.react-autosuggest__container .match.org {
  background-color: var(--color-geo);
}
.react-autosuggest__container .match.work {
  background-color: var(--color-work);
}
.react-autosuggest__container .match.rameau {
  background-color: var(--color-rameau);
}
.react-autosuggest__container .match.geo {
  background-color: var(--color-geo);
}
.react-autosuggest__container .match.event {
  background-color: var(--color-event);
}
.react-autosuggest__container .match.performance {
  background-color: var(--color-performance);
}
.react-autosuggest__container .match.periodic {
  background-color: var(--color-periodic);
}

#permalink {
  width: 180px;
}

/*------------------------------------------------------------------------*/

/*******INFOBULLES**********/

.docdesc,
.pdfdownload {
  font-size: 0.9em;
  background: white;
  padding: 1em;
  overflow: auto;
  position: absolute;
  width: 90%;
  box-shadow: 1px 1px 5px 3px rgba(3, 3, 3, 0.2);
  border-radius: 6px;
  z-index: 999;
  top: 30px;
  left: 0px;
}

.docdesc {
  margin-left: 2em;
}

.docdesc ul {
  list-style: none;
  margin: 10px 0 0 17px;
  padding: 0;
}

.modal-content {
  padding: 10px;
}

.modal-content ul {
  list-style: none;
}

.close-modal {
  display: flex;
}

.modal-content .fa-close {
  background-color: transparent;
  border: none;
  color: #888;
  margin-left: auto;
}

.pdfdownload {
  right: 5em;
}

.pdfdownload .btn[type="submit"] {
  float: right;
  margin-right: 10px;
  margin-bottom: 10px;
}

#pdfdownload__title span {
  font-weight: 700;
}

#pdfdownload__accept-row {
  margin-top: 1em;
}

#pdfdownload__terms {
  text-decoration: underline;
}

.geo-details .visualiser {
    float: none;
}

.geo-details + .geo-details {
    border-top: solid gray 2px;
    padding-top: 1em;
}

.geo-details .close {
  display: flex;
}

.geo-details .fa-close {
  background-color: transparent;
  border: none;
  color: #888;
  margin-left: auto;
}

.visualiser {
  font-weight: bold;
  margin-right: 1em;
  float: left;
  /* background:url(images/picto_visualiser_na.gif) no-repeat 0px 0px #fff; */
  min-height: 100px;
  min-width: 128px;
  max-height: 210px;
}
.visualiser a {
  color: #116fb3;
}

img.depict {
  max-width: 128px;
  max-height: 200px;
}

/* pagination */
.lettrecourante {
  margin-left: 118px;
  padding-left: 22px;
  color: #5c5c5c;
  margin-bottom: 26px;
}
.lettrecourante .lettre {
  color: #f27902;
  font-size: 2.2em;
}

/* ALPHA PAGINATION (used in views/pagination.py)*/
.index-alpha {
  padding: 20px 15px;
  text-transform: uppercase;
  font-size: 1.2em;
}
.index-alpha a {
  text-align: center;
  float: left;
  color: #5c5c5c;
  text-decoration: none;
  margin: 0 4px;
}
.index-alpha .active {
  background: url(images/fleche-liste-oeuvres.gif) no-repeat center bottom;
  font-weight: bold;
  color: #00a1f5;
  height: 25px;
}
.index-alpha .tout {
  margin-right: 15px;
}
.index-alpha .chiffres {
  margin-left: 15px;
}

/* NUMBER PAGINATION */
.pagination {
  color: #6a645f;
  text-align: center;
  font-size: 1.2em;
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.pagination a {
  margin: 0 12px;
  color: #6a645f;
  text-decoration: none;
}
.pagination .active {
  color: #f27902;
  font-weight: bold;
}
.pagination .bouton {
  font-size: 0.9em;
}

.title_infos {
  color: rgb(100, 100, 100);
}

.liens-print {
  display: none;
}

.liens a {
  -moz-background-clip: border;
  -moz-background-inline-policy: continuous;
  -moz-background-origin: padding;
  background: #eaebff none repeat scroll 0 0;
  color: #6b6ba4;
  text-decoration: none;
}

.filter,
.order {
  padding-bottom: 1em;
}

.filter__placeholder {
  /* !important is needed not be overwritten by react-select default css */
  color: rgb(110, 110, 110) !important;
}

.dropdown-toggle.btn.dropdown-filter {
  border: 0px;
  padding: 0px;
  background-color: transparent !important;
  box-shadow: none !important;
}

.order-icons {
  background: url(images/sort-up-and-down-arrows-couple.png) no-repeat;
  background-size: cover;
  height: 20px;
  width: 20px;
  display: inline-block;
  text-align: center;
  vertical-align: middle;
  margin-left: 5px;
}

.leaflet-container {
  height: 400px;
  margin: 0 auto;
  z-index: 0;
}

.voir {
  font-style: italic;
  text-decoration: underline;
}

.visually-hidden {
  position: absolute !important;
  border: 0 !important;
  height: 1px !important;
  width: 1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
}

.see-all-subsections {
  text-align: right;
  margin-top: 25px;
  font-size: 16px;
  cursor: pointer;
}

.dropdown-menu {
  max-height: 200px;
  overflow-y: auto;
}

/* FACETS */
#facet-bloc {
  padding-top: 20px;
  padding-bottom: 20px;
  margin-bottom: 2em;
  margin-right: 3em;
  width: 22em;
  display: flex;
  flex-direction: column;
  position: fixed;
}

#facet-bloc.page-container h3 {
  margin-top: 0px;
}

.facet-titlebar {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: baseline;
  padding: 10px 0px;
}

.facet-titlebar > h3 {
  margin: 0px;
}

.facet-titlebar:hover {
  cursor: pointer;
  background-color: #eee;
}

.facets-container.active {
  display: block;
}

.facets-container {
  display: none;
}

.active-facet-list {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 1em;
}

ul.active-facet-list > li > a {
  display: flex;
  align-items: baseline;
}

ul.active-facet-list > li > a > p {
  margin-right: 0.5em;
  margin-bottom: 0px;
}

.dropdown.open > .dropdown-menu {
  display: flex;
  flex-direction: column;
}

.search-filter {
  display: flex;
  margin: 10px;
}

.subsection-banner {
  background: #f0f0f0;
  padding: 0.1rem 0px;
  position: sticky;
  top: 73px;
  z-index: 100;
}

@media (max-width: 600px) {
    .subsection-banner {
        top: 150px;
    }
}



.subsection-filters {
  vertical-align: center;
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  background-color: #f8f8f8;
  border: 1px solid #e7e7e7;
  border-radius: 0px;
}

.subsection-filters input[type=checkbox] {
    margin: 0px 3px;
    display: inline-block;
    vertical-align: middle;
    cursor: pointer;
}

.subsection-filters .container-fluid {
  display: flex;
  margin: 1em;
  color: rgb(110, 110, 110);
  flex-direction: row;
  align-items: flex-start;
  flex-wrap: wrap;
  padding: 0px;
}

.filter-container {
  margin-right: 1em;
  display: flex;
  align-items: center;
}

.filter-container p {
  margin-bottom: 0px;
}

.subsection-filters a {
  color: rgb(110, 110, 110);
}

@media (max-width: 1200px) {
  #header .widescreen-only {
    display: none;
  }
}

@media (min-width: 1201px) {
  #header .smallscreen-only {
    display: none;
  }
}

.cursor-pointer {
  cursor: pointer;
}

.vocabulary .sort-button {
    margin-left: 0.1rem;
}

.vocabulary .sort-button.unsorted {
    visibility: hidden;
}

.vocabulary th:hover .sort-button.unsorted {
    visibility: visible;
    opacity: 0.5;
}

.download-vocabulary {
  float: right;
  margin: 5px 0px;
}

@media (max-width: 1200px) {
  .download-vocabulary {
    display: none;
  }
}

table.vocabulary input {
  width: 100%;
}
