@font-face {
  font-family: "GravurCondensed-Thin";
  src: url("font/GravurCondensed/GRAVURCONDENSED-THIN.OTF") format("opentype");
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: "GravurCondensed-Light";
  src: url("font/GravurCondensed/GRAVURCONDENSED-LIGHT.OTF") format("opentype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "GravurCondensed-Regular";
  src: url("font/GravurCondensed/GRAVURCONDENSED-REGULAR.OTF")
    format("opentype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "GravurCondensed-Bold";
  src: url("font/GravurCondensed/GRAVURCONDENSED-BOLD.OTF") format("opentype");
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: "GravurCondensed-Black";
  src: url("font/GravurCondensed/GRAVURCONDENSED-BLACK.OTF") format("opentype");
  font-weight: 900;
  font-style: normal;
}

/* Geomanist */
@font-face {
  font-family: "geomanist";
  src: url("font/geomanist/geomanist-bold-webfont.woff2") format("woff2"),
    url("font/geomanist/geomanist-bold-webfont.woff") format("woff");
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: "geomanist";
  src: url("font/geomanist/geomanist-light-italic-webfont.woff2")
      format("woff2"),
    url("font/geomanist/geomanist-light-italic-webfont.woff") format("woff");
  font-weight: 300;
  font-style: italic;
}

@font-face {
  font-family: "geomanist";
  src: url("font/geomanist/geomanist-light-webfont.woff2") format("woff2"),
    url("font/geomanist/geomanist-light-webfont.woff") format("woff");
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: "geomanist";
  src: url("font/geomanist/geomanist-medium-webfont.woff2") format("woff2"),
    url("font/geomanist/geomanist-medium-webfont.woff") format("woff");
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: "geomanist";
  src: url("font/geomanist/geomanist-regular-webfont.woff2") format("woff2"),
    url("font/geomanist/geomanist-regular-webfont.woff") format("woff");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "geomanist";
  src: url("font/geomanist/geomanist-regular-italic-webfont.woff2")
      format("woff2"),
    url("font/geomanist/geomanist-regular-italic-webfont.woff") format("woff");
  font-weight: 400;
  font-style: italic;
}

/* Playfair */
@font-face {
  font-family: "playfair";
  src: url("font/playfair/PlayfairDisplay-Regular.woff2") format("woff2"),
    url("font/playfair/PlayfairDisplay-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "playfair";
  src: url("font/playfair/PlayfairDisplay-SemiBold.woff2") format("woff2"),
    url("font/playfair/PlayfairDisplay-SemiBold.woff") format("woff");
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: "playfair";
  src: url("font/playfair/PlayfairDisplay-SemiboldItalic.woff2") format("woff2"),
    url("font/playfair/PlayfairDisplay-SemiboldItalic.woff") format("woff");
  font-weight: 500;
  font-style: italic;
}

:root {
  --teal: #5ca292;
  --blue: #008acf;
  --darkblue: #2f3772;
}

html,
body {
  /* max-width: 1400px; */
  width: 100%;
  margin: 0 auto;
  background-color: initial;
}

.layout-content {
  width: 100%;
}

.layout-container {
  position: relative;
}

.row {
  width: 100%;
  margin-left: initial;
  margin-right: initial;
}

.path-frontpage header {
  display: none;
}

.pictos-home {
  display: none;
}

.pictos-home > span {
  margin-bottom: 1rem;
  display: block;
  /* font-family: 'geomanist', sans-serif;
	font-size: 19px; */
  margin-top: 5px;
  text-transform: uppercase;
  font-size: 25px;
  text-transform: uppercase;
  font-family: "geomanist", sans-serif;
}

.pictos-home img {
  height: 83px;
}

.pictos-home .wording {
  margin-top: 5px;
  text-transform: uppercase;
  font-size: 25px;
  text-transform: uppercase;
  font-family: "geomanist", sans-serif;
}

.firstword {
  display: block;
}

.link {
  margin: 20px auto 0;
  background: #fff;
  border-radius: 25px;
  padding: 5px 10px;
}

.link a {
  color: #a2c616;
  font-size: 21px;
  text-transform: uppercase;
  font-family: "geomanist", sans-serif;
}

.path-frontpage #block-abm-content {
  margin: 0 !important;
}

#block-formulaireexposerecherchepage-1,
#block-formulaireexposerecherchepage-1-2 {
  display: none;
  background: #00a4e2;
  padding: 3vh 7vw;
  overflow: hidden;
}

#block-formulaireexposerecherchepage-1 #views-exposed-form-recherche-page-1,
#block-formulaireexposerecherchepage-1-2 #views-exposed-form-recherche-page-1 {
  padding: 0 60px;
  display: block;
  float: left;
}

#block-formulaireexposerecherchepage-1 .link-bibli,
#block-formulaireexposerecherchepage-1-2 .link-bibli {
  display: block;
  float: left;
  margin: 40px 60px 0;
  background: #a2c616;
  padding: 5px;
}

#block-formulaireexposerecherchepage-1 .link-bibli a,
#block-formulaireexposerecherchepage-1 .link-bibli a:hover,
#block-formulaireexposerecherchepage-1-2 .link-bibli a,
#block-formulaireexposerecherchepage-1-2 .link-bibli a:hover {
  color: #064f65;
  font-family: "geomanist", sans-serif;
  font-size: 20px;
  display: block;
  width: 100%;
}

#block-formulaireexposerecherchepage-1 .back {
  color: #fff;
  text-transform: uppercase;
  background: #3590c6;
  border-radius: 25px;
  padding: 5px 20px;
  font-family: Arial;
  font-size: 12px;
  margin-bottom: 10px;
  font-weight: bold;
  display: inline-block;
}

#block-formulaireexposerecherchepage-1 .back .arrow-back {
  content: "";
  background: url(../images/white-back.png) no-repeat center;
  width: 10px;
  height: 15px;
  display: inline-block;
  position: relative;
  top: 3px;
  background-size: 85%;
}

#views-exposed-form-recherche-page-1 .form-item-search-api-fulltext {
  display: inline-block;
}

#views-exposed-form-recherche-page-1 .form-item-search-api-fulltext label {
  color: #fff;
  font-size: 21px;
  text-transform: uppercase;
  font-family: "geomanist", sans-serif;
}

#views-exposed-form-recherche-page-1
  .form-item-search-api-fulltext
  #edit-search-api-fulltext {
  width: 23vw;
  border: none;
  margin-right: 5px;
  padding: 5px 10px;
}

#views-exposed-form-recherche-page-1 #edit-actions {
  display: inline-block;
}

#views-exposed-form-recherche-page-1 #edit-actions #edit-submit-recherche {
  background: url(../images/loupe.png) no-repeat center;
  content: "";
  width: 25px;
  height: 27px;
  border: none;
  text-indent: -999999999px;
  background-size: 100%;
}

#block-taxoblock {
  margin-left: 0;
  margin-right: 0;
  padding: 6vh 3vw;
}

#block-taxoblock.row {
  display: block;
}

#block-taxoblock div.block-menu {
  padding: 1rem 1rem 3rem;
  position: relative;
  width: 100%;
  max-width: 100% !important;
  margin-bottom: 64px;
  box-shadow: 0px 3px 6px #00000029;
  background-color: #fff;
}

#block-taxoblock div.block-menu .pre-titre {
  text-align: center;
  font-size: 28px;
  font-family: "playfair", serif;
  font-weight: 500;
}

#block-taxoblock div.block-menu .titre {
  font-size: 28px;
  text-align: center;
  font-family: "playfair", sans-serif;
  font-weight: 500;
  text-transform: initial;
  color: #2f3772;
  line-height: 1;
  margin-bottom: 20px;
}

#block-taxoblock div.block-menu > .row {
  display: none;
}

#block-taxoblock div.block-menu ul {
  padding: 0;
}

#block-taxoblock div.block-menu ul li {
  list-style-type: none;
  background: #efefef;
  padding: 5px;
  margin-bottom: 10px;
}

#block-taxoblock div.block-menu ul li.bibli {
  display: none;
}

#block-taxoblock div.block-menu ul li.archives {
  display: none;
}

#block-taxoblock div.block-menu ul li > a {
  color: #2f3772;
  font-family: "geomanist", sans-serif;
  font-size: 16px;
  display: block;
  width: 100%;
}

#block-taxoblock div.block-menu ul li .chapo {
  color: #2f3772;
  font-family: "geomanist", sans-serif;
  font-size: 13px;
  display: block;
}

.block-file {
  text-align: center;
  /* position: absolute; */
  width: 100%;
  /* left: 0; */
  margin-bottom: 30px;
}

.block-file-2 {
  text-align: center;
  width: 100%;
  left: 0;
  bottom: 1rem;
}

.block-file .file,
.block-file-2 .file {
  background: #5ca292;
  color: #fff;
  padding: 5px 10px;
  border-radius: 25px;
  font-family: "geomanist", sans-serif;
  font-size: 12px;
  font-weight: 400;
}

.block-file-2 .file {
  background: #008acf;
}

.block-file-2 .file {
  display: block;
  font-family: "geomanist", sans-serif;
  font-size: 15px;
}

.block-file .file .icon-download,
.block-file-2 .file .icon-download {
  content: "";
  background: url(../images/icon-download.png) no-repeat center;
  width: 11px;
  height: 11px;
  display: inline-block;
}
.rapport a:before {
  content: ">";
  /*background: url(../images/icon-page.png) no-repeat center;*/
  width: 11px;
  height: 11px;
  display: inline-block;
  margin-right: 5px;
}
.rapport1 {
  background: #2f3772;
}
.rapport2 {
  background: #313295;
}

.rapport {
  margin-top: 1rem;
  padding: 0.5rem;
  border-radius: 15px;
}

.rapport a,
.rapport a {
  color: #fff;
  font-family: "geomanist", sans-serif;
  text-decoration: none;
}

#block-taxoblock div.block-menu:last-child {
  box-shadow: 0px 3px 6px #00000029;
  margin-right: 0;
  margin-left: 0;
}

#block-taxoblock div.block-menu:last-child .pre-titre {
  color: #2f3772;
}

#block-taxoblock div.block-menu:last-child .titre {
  color: #2f3772;
}

#block-taxoblock div.block-menu:last-child ul li > a {
  color: #2f3772;
}

#block-taxoblock div.block-menu:last-child .block-file a {
  background-color: #fab200;
}

#block-taxoblock div.block-menu ul {
  display: flex;
  justify-content: center;
}

#block-taxoblock div.block-menu ul li {
  padding-left: 15px;
  padding-right: 45px;
  max-width: 250px;
  background-color: transparent;
}

#block-taxoblock div.block-menu ul li a::before {
  content: "";
  display: block;
  background-size: contain;
  background-repeat: no-repeat;
  height: 10px;
  width: 20px;
  margin-bottom: 10px;
}

#block-taxoblock div.block-menu:not(:last-child) ul li a::before {
  background-image: url(../images/arrow-right-green.svg);
}

#block-taxoblock div.block-menu ul li a::before {
  background-image: url(../images/arrow-right-yellow.svg);
}

#block-taxoblock div.block-menu:not(:last-child) ul li:not(:nth-child(4)) {
  border-right: solid 2px #5ca292;
}

#block-taxoblock div.block-menu:last-child ul li:not(:nth-child(6)) {
  border-right: solid 2px #fab200;
}

.path-taxonomy main,
.page-node-type-page main,
.page-node-type-page-simple main {
  padding: 3vh 7vw;
}

#block-blocdemenu ul {
  padding: 0;
}

#block-blocdemenu ul li {
  list-style-type: none;
}

/*Block menu*/
.menu > li > a::after {
  content: "";
  background: url(../images/white-arrow.png) center no-repeat;
  width: 10px;
  height: 15px;
  position: absolute;
  right: 10px;
  top: 12px;
}
body:has(.organes) .menu > li > a {
  background: #5ca292;
}
body:has(.amp) .menu > li > a {
  background: #008acf;
}

.menu > li > a {
  color: #fff;
  font-family: "geomanist", sans-serif;
  font-size: 23px;
  text-transform: uppercase;
  line-height: 1;
  background: #4b535c;
  padding: 10px 20px;
  display: block;
  width: 100%;
  position: relative;
  border-bottom: 1px solid #fff;
}

.menu a:hover {
  text-decoration: none;
}
body:has(.organes) .menu > li.actif > a {
  background: #5ca292;
  border: none;
}
body:has(.amp) .menu > li.actif > a {
  background: #008acf;
}

.menu > li.actif > a {
  background: #0e7c99;
  border: none;
}

.menu > li .ss-menu,
.menu > li .ss-menu > li .sss-menu {
  display: none;
}

.menu > li.actif .ss-menu,
.menu > li.actif .ss-menu > li .sss-menu {
  display: block;
}

.menu > li.actif .ss-menu a {
  color: #000;
  font-family: "geomanist", sans-serif;
  font-size: 19px;
  line-height: 1;
  background: #fff;
  padding: 10px 40px 10px 20px;
  display: block;
  width: 100%;
  position: relative;
  border-left: 1px solid #bbbbbb;
  border-right: 1px solid #bbbbbb;
  border-bottom: 1px solid #bbbbbb;
}

.menu > li.actif .ss-menu > li .sss-menu a {
  padding: 10px 40px 10px 40px;
  font-size: 16px;
}
.menu > li.actif .ss-menu > li.actif > a,
.menu > li.actif .ss-menu > li .sss-menu > li.actif a {
  color: #fff;
  background: #2f3772;
}

.menu > li.actif .ss-menu > li.actif > a,
.menu > li.actif .ss-menu > li .sss-menu > li.actif a {
  color: #0e7c99;
  background: #c4ecf6;
}

/*Footer*/
footer {
  background: #2f3772;
  color: #fff;
  text-align: center;
  /* padding: 2rem 0rem 3rem; */
}

footer .row {
  margin: 0 auto;
}

footer ul li {
  list-style-type: none;
  text-align: left;
  display: inline-block;
  margin: 0 10px;
}

footer ul li a {
  color: #fff;
}

/*Taxo page*/
body:has(.organes).path-taxonomy h1 {
  color: #5ca292;
  border-bottom: 1px solid #5ca292;
  font-family: "GravurCondensed-Black", sans-serif;
  font-size: 36px;
}
body:has(.amp).path-taxonomy h1 {
  color: #008acf;
  border-bottom: 1px solid #008acf;
  font-family: "GravurCondensed-Black", sans-serif;
}
.path-taxonomy h1 {
  color: #00566d;
  font-family: "geomanist", sans-serif;
  font-size: 36px;
}

.path-taxonomy .view-header {
  font-family: Arial;
  font-size: 18px;
}

.path-taxonomy .view-filters {
  display: none;
  background: #a2c616;
  padding: 20px 30px;
}

.path-taxonomy .view-filters .form-item-keys {
  display: inline-block;
  width: 93%;
  margin-right: 10px;
}

.path-taxonomy .view-filters .form-item-keys label {
  display: none;
}

.path-taxonomy .view-filters .form-item-keys #edit-keys {
  border: none;
  width: 100%;
}

.path-taxonomy .view-filters #edit-actions {
  display: inline-block;
}

.path-taxonomy .view-filters #edit-actions #edit-submit-taxonomy-term {
  background: url(../images/loupe.png) no-repeat center;
  content: "";
  width: 33px;
  height: 35px;
  border: none;
  text-indent: -999999999px;
}
body:has(.organes).path-taxonomy h2 a {
  color: #2f3772;
}
body:has(.amp).path-taxonomy h2 a {
  color: #2f3772;
}

.path-taxonomy h2 a {
  color: #00566d;
  font-family: "geomanist", sans-serif;
  font-size: 33px;
}

.path-taxonomy h2 a:hover {
  text-decoration: none;
}

.path-taxonomy .views-row {
  border-bottom: 1px solid #2f3772;
  /* padding: 20px; */
  margin: 20px 0;
}

.path-taxonomy .views-row article div:last-child div {
  font-family: Arial;
  font-size: 18px;
}

.path-taxonomy .views-row ul.links {
  padding: 0;
}

.path-taxonomy .views-row ul.links li {
  list-style-type: none;
  overflow: hidden;
}
body:has(.organes).path-taxonomy .views-row ul.links li a {
  background: #5ca292;
}
body:has(.amp).path-taxonomy .views-row ul.links li a {
  background: #008acf;
}

.path-taxonomy .views-row ul.links li a {
  display: block;
  background: #2f3772;
  color: #fff;
  /* text-transform: uppercase; */
  font-family: "geomanist", sans-serif;
  font-size: 15.5px;
  width: 140px;
  padding: 5px 15px;
  border-radius: 25px;
  position: relative;
  float: right;
  text-align: center;
  transition: all 0.5s ease-in-out;
}

.path-taxonomy .views-row ul.links li a:hover {
  background: #2f3772 !important;
  text-decoration: none;
}
/* .path-taxonomy .views-row ul.links li a::after {

.path-taxonomy .views-row ul.links li a::after {
  content: "";
  background: url(../images/white-arrow.png) center no-repeat;
  width: 10px;
  height: 15px;
  position: absolute;
  right: 10px;
  top: 9px;
} */

/*Node page*/
body:has(.organes).page-node-type-page h1,
body:has(.organes).page-node-type-page-simple h1 {
  color: #5ca292;
  font-family: "GravurCondensed-Black", sans-serif;
  font-size: 36px;
}
body:has(.amp).page-node-type-page h1,
body:has(.amp).page-node-type-page-simple h1 {
  color: #008acf;
  font-family: "GravurCondensed-Black", sans-serif;
}
.page-node-type-page h1,
.page-node-type-page-simple h1 {
  color: #00566d;
  font-family: "geomanist", sans-serif;
  font-size: 36px;
}

.page-node-type-page h1 span,
.page-node-type-page-simple h1 span {
  font-size: 25px;
}

.print {
  content: "";
  background: url(../images/print-page.png) no-repeat center;
  width: 49px;
  height: 49px;
  display: block;
  cursor: pointer;
}

.file a {
  background: url(../images/print-pdf.png) no-repeat center;
  width: 49px;
  height: 49px;
  display: block;
  cursor: pointer;
  margin-bottom: 10px;
}

.path-media .file a {
  background: none;
  width: unset;
  height: unset;
  margin-bottom: unset;
}

#current-search-form {
  background: #a2c616;
  padding: 20px 30px;
  margin: 20px 0;
}

#current-search-form .form-item-keyword {
  display: inline-block;
  width: 93%;
  margin-right: 10px;
}

#current-search-form .form-item-keyword label {
  display: none;
}

#current-search-form .form-item-keyword #edit-keyword {
  border: none;
  width: 100%;
}

#current-search-form #edit-actions {
  display: inline-block;
}

#current-search-form #edit-actions #edit-submit {
  background: url(../images/loupe.png) no-repeat center;
  content: "";
  width: 33px;
  height: 35px;
  border: none;
  text-indent: -999999999px;
}

.card {
  border: none;
  background: #f3f3f3;
  margin-bottom: 20px;
}

.accordion .card-header {
  background: #2f3772;
  padding: 10px 30px;
}

.accordion .card-header h5 {
  margin: 0;
}

.accordion .card-header button {
  color: #fff;
  /* text-transform: uppercase; */
  font-size: 23px;
  font-family: "geomanist", sans-serif;
  position: relative;
  width: 100%;
  text-align: inherit;
  white-space: normal;
  padding: 0px 30px 0px 0px;
}

.accordion .card-header button.collapsed .acc-arrow {
  content: "";
  background: url(../images/greffe-menu.png) no-repeat center;
  width: 9px;
  height: 15px;
  position: absolute;
  right: 10px;
  top: 40%;
  display: block;
}

.accordion .card-header button .acc-arrow {
  content: "";
  background: url(../images/greffe-menu-down.png) no-repeat center;
  width: 15px;
  height: 9px;
  position: absolute;
  right: 10px;
  top: 40%;
  display: block;
}

.accordion .card-header button:hover,
.accordion .card-header button:focus {
  text-decoration: none;
}

.accordion .card-header button:focus {
  border: 2px solid #000000;
}

.accordion .card-body {
  padding: 20px 35px;
  background-color: #fff;
}

.accordion .card-body > div:not(.row) p,
.accordion .card-body > div:not(.row) ul {
  font-size: 15px;
  /*font-weight: bold;*/
  font-family: Arial;
}

.media-titre {
  font-weight: bold;
}

.media-img {
  position: relative;
  margin-bottom: 10px;
  max-height: 200px;
  overflow: hidden;
  display: inline-block;
  /* height: 100%; */
  width: 100%;
}

.media-img > img {
  max-width: 100%;
  /* height: auto; */
}

.lien-popin {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  border: none;
  background-color: transparent;
}

.lien-popin:focus {
  border: 4px solid black;
}

.popin {
  content: "";
  background: url(../images/picto-popin.png) no-repeat center;
  display: block;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.media-lgd {
  padding: 0 10px;
  font-size: 10px;
}

.new-window,
.media-download,
.media-print,
.popin-new-window,
.popin-legend,
.popin-download,
.popin-print {
  display: inline-block;
  vertical-align: middle;
}

.new-window {
  margin-left: 10px;
}

.new-window span {
  content: "";
  background: url(../images/picto-excel.png) no-repeat center;
  display: block;
  width: 41px;
  height: 41px;
  cursor: pointer;
}

.media-download span {
  content: "";
  background: url(../images/picto-file-download.png) no-repeat center;
  display: block;
  width: 42px;
  height: 41px;
  cursor: pointer;
}

.media-print {
  border: none;
  vertical-align: top;
}

.media-print button {
  content: "";
  background: url(../images/picto-print.png) no-repeat center;
  display: block;
  width: 41px;
  height: 41px;
  cursor: pointer;
  border: none;
}

.media-print button:focus {
  border: 2px solid black;
}

.path-media #block-abm-page-title {
  margin-top: 10px;
}

.path-media #block-abm-page-title > h1 {
  display: none;
}

.path-media #block-abm-page-title + #block-abm-content > div > div:first-child {
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.2;
}

.modal-lg {
  max-width: 90% !important;
}

.modal .modal-header {
  padding: 5px 10px 0 0;
  border: none;
}

.modal .modal-body {
  padding: 0 30px 20px;
  color: #00566d;
  font-size: 22px;
  font-family: Arial;
  font-weight: 600;
}

.modal .modal-body .popin-mg img {
  width: auto;
  max-width: 100%;
  height: auto;
  margin: 20px auto;
  display: block;
}

.popin-new-window span {
  content: "";
  background: url(../images/picto-excel-popin.png) no-repeat center;
  display: block;
  width: 41px;
  height: 41px;
  cursor: pointer;
}

.popin-download span {
  content: "";
  background: url(../images/picto-file-download-popin.png) no-repeat center;
  display: block;
  width: 42px;
  height: 41px;
  cursor: pointer;
}

.popin-print button {
  content: "";
  background: url(../images/picto-print-popin.png) no-repeat center;
  display: block;
  width: 41px;
  height: 41px;
  cursor: pointer;
  border: none;
}

.popin-print button:focus {
  border: 2px solid black;
}

.popin-legend {
  display: block;
  margin-bottom: 20px;
  color: #000;
  font-style: italic;
  font-size: 11px;
  font-weight: 400;
}

.site-branding__logo {
  display: block;
  padding: 15px 0px;
}

.path-bibliotheque-de-donnees main.row {
  margin: 0 !important;
}

.path-bibliotheque-de-donnees main.row .layout-content {
  width: 100%;
}

.path-bibliotheque-de-donnees .page-title {
  margin: 0;
}

.path-bibliotheque-de-donnees .custom-head {
  background: url(../images/bkg-bibli.png) no-repeat center;
  padding: 1vh 9vw 2vh;
  color: #fff;
  font-size: 45px;
  font-family: "geomanist", sans-serif;
  text-transform: uppercase;
  display: block;
}

.path-bibliotheque-de-donnees .custom-head a {
  margin-bottom: 30px;
  display: block;
}

.path-bibliotheque-de-donnees .custom-head a span {
  background: url(../images/logo-home.png) no-repeat center;
  width: 244px;
  height: 77px;
  display: block;
}

#block-abm-content {
  margin: 0 0 20px !important;
}

#search-bibliotheque-form {
  width: 100%;
  background: #3bb9e9;
  margin-bottom: 30px;
  padding: 2vh 9vw 4vh;
  position: relative;
}

#search-bibliotheque-form #edit-back {
  margin-bottom: 10px;
}

#search-bibliotheque-form .back {
  color: #fff;
  text-transform: uppercase;
  background: #3590c6;
  border-radius: 25px;
  padding: 5px 20px;
  font-family: Arial;
  font-size: 12px;
  font-weight: bold;
}

#search-bibliotheque-form .back .arrow-back {
  content: "";
  background: url(../images/white-back.png) no-repeat center;
  width: 10px;
  height: 15px;
  display: inline-block;
  position: relative;
  top: 3px;
  background-size: 85%;
}

#search-bibliotheque-form .in-form {
  padding: 0 8vw;
}

/* #search-bibliotheque-form .in-form > div:last-child {
	padding-top: 30px;
} */
#search-bibliotheque-form .in-form label,
.resultat-recherche-title {
  color: #fff;
  text-transform: uppercase;
  font-size: 21px;
  font-family: "geomanist", sans-serif;
  margin-bottom: 0;
}

.resultat-recherche-title {
  color: #000;
  display: block;
  max-width: 1110px;
  margin: 0 auto 30px;
}

#termid,
#nodeid,
#mediaid {
  display: none;
}

#search-bibliotheque-form .in-form select,
#search-bibliotheque-form .in-form .nice-select.form-select {
  width: 100%;
  height: 45px;
  background: #a3def5;
  border: none;
  padding: 10px;
  font-size: 16px;
  margin-bottom: 5px;
  line-height: normal !important;
  border-radius: 0 !important;
}

#search-bibliotheque-form .in-form .nice-select.form-select .list {
  background-color: #a3def5 !important;
  border-radius: 0 !important;
}

#nodeid .js-form-type-select {
  margin-top: 18px;
}

.nice-select .option:hover,
.nice-select .option.focus,
.nice-select .option.selected.focus {
  background-color: #56ccf9 !important;
}

.nice-select:after {
  border-bottom: 3px solid #000 !important;
  border-right: 3px solid #000 !important;
  height: 15px !important;
  right: 12px;
  top: 40% !important;
  width: 15px !important;
}

#search-bibliotheque-form .in-form .form-item-keyword {
  margin-top: 15px;
}

#search-bibliotheque-form .in-form .form-item-keyword input {
  width: 100%;
  height: 45px;
  background: #a3def5;
  border: none;
  padding: 10px;
  font-size: 16px;
}

#search-bibliotheque-form #edit-actions {
  display: inline-block;
  position: absolute;
  right: 11vw;
  bottom: 5vh;
}

#search-bibliotheque-form #edit-actions #edit-submit {
  background: url(../images/loupe.png) no-repeat center;
  content: "";
  width: 33px;
  height: 36px;
  border: none;
  text-indent: -999999999px;
  cursor: pointer;
}

#block-abm-content .list-media {
  padding: 0;
  max-width: 1110px;
  margin: 0 auto;
}

#block-abm-content .list-media > div {
  height: max-content;
  height: -moz-max-content;
  height: webkit-max-content;
  height: -o-max-content;
  display: inline-block;
  margin-bottom: 30px;
}

.media-bibli {
  background: #e1e3e5;
  padding: 5px 5px 10px;
}

.media-bibli .media-img,
.media-bibli .media-lgd {
  margin-bottom: 10px;
}

.path-recherche main.row {
  margin: 0 !important;
}

.view-recherche {
  padding: 3vh 10vw;
}

.view-recherche .view-content .views-row {
  overflow: hidden;
  margin-bottom: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid #00a4e2;
}

.search-content {
  display: block;
  float: left;
  width: 70%;
}

.view-recherche .direct-link {
  color: #000;
}

.view-recherche .direct-link:hover {
  text-decoration: none;
  color: #000;
}

.view-recherche .direct-link h2 {
  font-size: 23px;
  font-family: "geomanist", sans-serif;
  color: #313295;
}

.view-recherche .more {
  display: block;
  float: right;
  background: #00a4e2;
  color: #fff;
  text-transform: uppercase;
  font-family: "geomanist", sans-serif;
  font-size: 15.5px;
  width: 140px;
  padding: 5px 15px;
  border-radius: 25px;
  position: relative;
}

.view-recherche .more::after {
  content: "";
  background: url(../images/white-arrow.png) center no-repeat;
  width: 10px;
  height: 15px;
  position: absolute;
  right: 10px;
  top: 9px;
}

.image-search {
  position: relative;
  padding-left: 50px;
  min-height: 42px;
}

.image-search::before {
  content: "";
  background: url(../images/picto-file.png) no-repeat center;
  width: 40px;
  height: 42px;
  display: inline-block;
  position: absolute;
  left: 0;
  top: 0;
}

/** paragraphes **/
.card h2,
.page-node-type-page-simple h2 {
  color: #2f3772;
  font-size: 26px;
}

body:not(:has(.home-bg)) div h3,
.card h3,
.page-node-type-page-simple h3 {
  padding-left: 50px;
  margin-bottom: 15px;
  font-size: 20px;
  text-decoration: underline;
  color: #2f3772;
  font-weight: 600;
}

.card h4,
.page-node-type-page-simple h4 {
  padding-left: 100px;
  margin-bottom: 15px;
  font-size: 18px;
  color: #2f3772;
  font-weight: 600;
}

body:not(:has(.home-bg)) div h3:before,
.card h3:before,
.page-node-type-page-simple h3:before {
  content: "•";
  display: inline-block;
  margin-right: 5px;
}

#block-selecteurdelangue ul {
  margin: 0;
  padding: 0;
  background: #dddddd;
  padding: 10px 20px;
  list-style: none;
}

#block-selecteurdelangue ul li {
  display: inline-block;
  margin-right: 10px;
}

#block-selecteurdelangue ul li a.is-active {
  pointer-events: none;
}

#block-selecteurdelangue ul li a.is-active img,
#block-selecteurdelangue ul li a:hover img {
  border: solid 1px #2f3772;
}

#block-selecteurdelangue ul li a {
  display: inline-block;
  box-sizing: border-box;
}

.button-noborder {
  border: none;
}

.bouton-video,
.bouton-aide {
  cursor: pointer;
  color: #fff;
  font-size: 21px;
  text-transform: uppercase;
  font-family: "geomanist", sans-serif;
  background: #0099d1;
  border-radius: 25px;
  padding: 5px 10px;
  max-width: 200px;
  position: absolute;
  right: 20px;
}

.bouton-video .picto-click {
  content: "";
  background: url(../images/picto-click.png) no-repeat center;
  display: inline-block;
  width: 20px;
  height: 20px;
  background-size: 100%;
  margin-left: 5px;
  position: relative;
  top: 3px;
}

.lien-video {
  display: none;
}

#popup-video {
  display: none;
  position: fixed;
  background: rgba(0, 0, 0, 0.5);
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 9999;
  padding: 11% 0;
}

#popup-video .close-popup {
  width: 59%;
  display: block;
  margin: 10px auto;
  overflow: hidden;
  border: none;
}

#popup-video .close-popup button {
  content: "";
  background: url(../images/close-popup.png) no-repeat center;
  background-size: 100%;
  width: 30px;
  height: 30px;
  display: block;
  float: right;
  border: none;
  cursor: pointer;
}

#popup-video .content-popup {
  width: 60%;
  height: 100%;
  margin: auto;
  position: relative;
}

@media screen and (max-width: 780px) {
  #popup-video .close-popup {
    width: 75%;
    display: block;
    margin: 0 auto;
    overflow: hidden;
    cursor: pointer;
  }

  #popup-video .content-popup {
    width: 78%;
    height: 39%;
    margin: auto;
    position: relative;
  }
}

#popup-video .content-popup iframe {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.embedded-entity {
  position: relative;
  display: inline !important;
  font-family: Arial;
  font-weight: 500;
  font-size: 0;
}

.embedded-entity > span {
  font-size: 0;
}

.embedded-entity > span > * {
  font-size: initial;
}

.embedded-entity > span > span:first-child:hover + span {
  display: none;
}

.embedded-entity > span > span:last-child {
  display: none;
  position: absolute;
  bottom: 30px;
  background: rgba(0, 0, 0, 0.7);
  padding: 3rem;
}

/*.embedded-paragraph-after:after {
	clear: both;
	content: "";
	display: block;
	height: 1rem;
}*/
[property="schema:text"] {
  font-size: 0;
}

[property="schema:text"] > * {
  font-size: initial;
}

.embedded-entity span[entity-id] > span:first-child {
  cursor: pointer;
  text-decoration: underline;
  display: inline;
}

/* .mediaprinteditor {
	display:none
} */

.media-wrapper-editor {
  display: none;
}

span.insecable {
  white-space: nowrap;
}

@media print {
  .layout-sidebar {
    display: none;
  }

  .col-lg-6.mediaprint {
    max-width: 100%;
    page-break-after: right;
    page-break-inside: auto;
  }

  .col-lg-6.mediaprint:last-of-type {
    page-break-after: initial;
  }

  .media-img {
    overflow: auto;
    max-height: none;
  }

  .row {
    display: block;
  }

  .lien-popin,
  #backtotop,
  .new-window,
  .media-print,
  .contextual,
  .shortcut-action {
    display: none !important;
  }
}

html:has(.home-bg) {
  background: linear-gradient(300deg, #008acf 0%, #fff 60%);
  /* background: linear-gradient(300deg, rgba(255, 255, 255, 1) 100%, #dd22dd 100%); */
  background-size: 400% 400%;
  background-repeat: no-repeat;
  background-attachment: fixed;
  animation: gradient 16s ease-in-out infinite;
  height: 100vh;
  width: 100%;
  /* 
  -webkit-animation: gradient 16s ease infinite;
  -moz-animation: gradient 16s ease infinite;
  animation: gradient 16s ease infinite; */
}

/* @-webkit-keyframes gradient {
0% {background-position: 0% 50%}
25% {background-position: 30% 50%}
50% {background-position: 60% 20%}
75% {background-position: 40% 30%}
100% {background-position: 0% 50%}
}
@-moz-keyframes gradient {
0% {background-position: 0% 50%}
25% {background-position: 30% 50%}
50% {background-position: 60% 20%}
75% {background-position: 40% 30%}
100% {background-position: 0% 50%}
} */
@keyframes gradient {
  0% {
    background-position: 0% 50%;
  }

  25% {
    background-position: 30% 50%;
  }

  50% {
    background-position: 60% 20%;
  }

  75% {
    background-position: 40% 30%;
  }

  100% {
    background-position: 0% 50%;
  }
}
