.a-la-une_front_a_la_une_panel .breve-date {
  font-size:16px !important;
}

.en-savoir-plus-a-la-une {    
    font-size: 110%;
    font-weight: 700;
    border: 1px solid var(--search_bar_button_color);
    width: fit-content;
    padding: 0.5em;
    border-radius: 0.5rem;
}

.a-la-une_front_a_la_une_panel:hover .en-savoir-plus-a-la-une {
  color: var(--primary_color_dark) ;
  background: white;
}

.a-la-une_front_a_la_une_panel p {
  margin-bottom: 0;
}
.a-la-une_front_a_la_une_panel.tile {
    position: relative;
}

.a-la-une_front_a_la_une_panel a.tile_link::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.bloc_en_avant {
    margin-bottom: 1em;
}


.tplt_grid {
    --nb-columns: 6 !important;
}

a.pdf_inline:after {
  content: "";
  padding-right: 2em;
  position: relative;
  top: 2px;
  display: inline-block;
  width: 16px;
  height: 16px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='%23373737' d='M8.66667 8.00004H10.6667L8 10.6667L5.33333 8.00004H7.33333V5.33337H8.66667V8.00004ZM10 2.66671H3.33333V13.3334H12.6667V5.33337H10V2.66671ZM2 1.99457C2 1.62941 2.29833 1.33337 2.66567 1.33337H10.6667L13.9998 4.66671L14 13.995C14 14.366 13.7034 14.6667 13.3377 14.6667H2.66227C2.29651 14.6667 2 14.3632 2 14.0055V1.99457Z'/></svg>");
}


a.internal_link_inline:after {
  content: "";
  padding-right: 2em;
  position: relative;
  top: 2px;
  display: inline-block;
  width: 16px;
  height: 16px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='%23373737' d='M8.70714 5.40732L9.64994 6.35012C11.4724 8.1726 11.4724 11.1273 9.64994 12.9498L9.41427 13.1855C7.5918 15.0079 4.63704 15.0079 2.81459 13.1855C0.992142 11.3631 0.992142 8.40827 2.81459 6.58583L3.7574 7.52867C2.45566 8.8304 2.45566 10.9409 3.7574 12.2427C5.05915 13.5444 7.16967 13.5444 8.47147 12.2427L8.70714 12.007C10.0089 10.7052 10.0089 8.59467 8.70714 7.29294L7.76434 6.35012L8.70714 5.40732ZM13.1855 9.41427L12.2427 8.47147C13.5444 7.16967 13.5444 5.05915 12.2427 3.7574C10.9409 2.45566 8.8304 2.45566 7.52867 3.7574L7.29294 3.9931C5.99119 5.29485 5.99119 7.4054 7.29294 8.70714L8.23574 9.64994L7.29294 10.5927L6.35012 9.64994C4.52768 7.82754 4.52768 4.87274 6.35012 3.0503L6.58583 2.81459C8.40827 0.992142 11.3631 0.992142 13.1855 2.81459C15.0079 4.63704 15.0079 7.5918 13.1855 9.41427Z'/></svg>");
}

a.external_link_inline:after {
  content: "";
  padding-right: 2em;
  position: relative;
  top: 2px;
  display: inline-block;
  width: 14px;
  height: 14px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='%23373737' d='M6.33333 3V4.66667H2.16667V13.8333H11.3333V9.66667H13V14.6667C13 15.1269 12.6269 15.5 12.1667 15.5H1.33333C0.8731 15.5 0.5 15.1269 0.5 14.6667V3.83333C0.5 3.3731 0.8731 3 1.33333 3H6.33333ZM15.5 0.5V7.16667H13.8333L13.8333 3.34417L7.33925 9.83925L6.16074 8.66075L12.6541 2.16667H8.83333V0.5H15.5Z'/></svg>");
}


:root {
  --syrtis-search-form-v2-check-border: #010101 !important;
  --syrtis-search-form-v2-check-bg-checked: #010101 !important;
  --bouton-padding-block: 10px;
  --bouton-padding-inline: 24px;
  --primary_color_light: #ACC877;
  --card_color: white;
  --input_border-radius: 40px;
  --input_background: white;
}

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,100..900;1,100..900&family=PT+Sans:ital,wght@0,400;0,700;1,400;1,700&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

.fontyourface {
    font-family: "PT Sans", sans-serif;
    font-style: normal;
    font-weight: normal;
}

#navbar-main .nav-link {
  font-size: 1rem;
}

.actualite-others-title::before,
.actualite-others-title::after {
  content: "";
}

.actualite-bandeau-teaser h3 {
   margin-bottom: 0;
}

.actualite-bandeau-teaser,
.breve-teaser {
  height: 620px;
}

.actualite-bandeau-a-la-une {
    background: #FAF9F9 !important;
}

a.actualite-en-savoir-plus:hover {
    border-color: #ACC877 !important;
    background-color: #ACC877 !important;
    color: black !important;
}

#navbar-main {
  border-bottom: 1px solid #dfe6e8;
}

.actualite-categories ul li a,
.breve-categories ul li a {
  background-color: #DFE6E8;
}
.actualite-categories ul li a:hover,
.breve-categories ul li a:hover {
  background-color: #a1c77e;
  color: black;
}

.breve-teaser {
  	background: transparent !important;
	border: 2px solid #D7D7D7 !important;
}
.actualite-bandeau-teaser {
    background-color: #FFFFFF !important;
}
.actualite-en-savoir-plus {
  border: 1px solid #3b4046 !important;
}

label[for="edit-field-cats-target-id"], 
.form-inline:has(label[for="edit-field-categories-target-id"]) {
  display:none;
}

.bib_teaser_card div.bib_map {
  margin-bottom: 0.5rem;
}

.bib-num-details-container h1 {
  color: #597A1A;
}
.bib-num-details-container h2 {
  font-size: 1.5rem;
}

.page_statique .opac.template_result a {
  text-decoration:none;
 }

.bib-num-teaser-container .field, 
.bib-num-teaser-container .field p {
  margin-bottom: 0;
}
.bib-num-teaser-container {
    background-color: #ffffff;
}
.bib-num-teaser-container .bib-num-heading .bib-num-title::after {
    content: url(/sites/default/files/ressources/bib-num-separator.svg)
}
.bib-num-teaser-container .bib-num-heading .bib-num-title h2 {
    font-size: 2rem;
    color: #597A1A;
}
.bib-num-teaser-container .bib-num-heading .bib-num-title h3 {
    font-size: 1rem;
}
.bib-num-liste-custom ul li {
  background-color: #C4D89E;
  border: 1px solid #C4D89E;
  transition: 300ms;
}
.bib-num-liste-custom ul li:hover,
.bib-num-liste-custom ul li:active,
.bib-num-liste-custom ul li:focus {
   background-color: #f6f4ee;
}
.bib-num-more {
  background-color: #C2C8CB;
}
.bib-num-more:hover, 
.bib-num-more:focus, 
.bib-num-more:active {
  background-color: #A1C77E;
}

#select-libraries .bs-searchbox > input {
  border: 1px solid #8b8b8b;
}
#select-libraries .dropdown-header {
  color: #597a1a;
}

.btn-light {
  background-color: white;
  border: 1px solid darkgrey;
  border-radius: 8px;
}

/* Enlève les bordures intempestives dans les actualités + listing des médiathèques */
.list-group-item {
  border: none;
  background-color: transparent;
}

.bib_teaser_card_info h1,
.bib_teaser_card_info h2, 
.bib_teaser_card_info h3,
.bib_teaser_card_info .bib_title,
.bib_teaser_card_info .text_chapo,
.card_section_title,
.library_selection_block #library-type > label {
  color: #597A1A;
}

.animation-single .paragraphe::before,
.bib_content::before,
.actualite-body::before,
.block-views-blockactualites-accueil-block-4::before {
    background-color: white;
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    height: calc(100% + 2rem);
    width: 100vw;
}

.bib_content, .bib_content > div {
  position: relative;
}

.page_navigation li.dropdown-item {
    white-space: break-spaces;
}

.menu_level1_container .menu_level1_card {
  background-color: var(--light---neutre0-20);
}

.a-la-une_front_teaser_panel::before {
    content: url(/sites/default/files/ressources/green-arrow.svg);
}

.slick-next:before {
  content: url('/sites/default/files/ressources/carousel_next.png');
}
.slick-prev:before {
  content: url('/sites/default/files/ressources/carousel_previous.png');
}

.accordion_generic .accordion_generic_section:after { 
  content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M11.9999 13.1724L16.9497 8.22266L18.3639 9.63687L11.9999 16.0009L5.63599 9.63687L7.0502 8.22266L11.9999 13.1724Z'/%3E%3C/svg%3E");
}
.accordion_generic.active .accordion_generic_section:after { 
  content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12.0001 10.8286L7.0503 15.7783L5.6361 14.3641L12.0001 8.0001L18.364 14.3641L16.9498 15.7783L12.0001 10.8286Z' /%3E%3C/svg%3E");
}

.slick-dots li.slick-active button:before {
    color: #6A921F;
}

.page_statique img {
  border-radius: 1rem;
}

.page_statique table,
.page_statique table body,
.page_statique table tr,
.page_statique table tr td
{
  background: transparent;
  border-color: transparent;
}

.accordion_generic {
  border-color: lightgray;
}

.accordion_generic .accordion_generic_section {
  background-color: white;
  font-weight: 700;
}

.accordion_generic .accordion_generic_section:hover,
.accordion_generic.active .accordion_generic_section {
  background-color: #d1deb2;
}

.accordion_generic .accordion_generic_panel {
  background-color: white;
}

.eu-cookie-compliance-more-button {
  color: black !important;
}

form#syrtis-search-form-v2 .search-block .btn-syrtis-search {
  background-image: url("/modules/custom/syrtis_search/assets/images/icon_search.svg");
}

.bloc_accueil_novelty div[class^="owl-carousel"],
.bloc_accueil_cdc div[class^="owl-carousel"] {
  padding-bottom: 1rem;
}

.bloc_accueil_novelty .primary_button,
.bloc_accueil_cdc .primary_button {
    display: block;
    width: fit-content;
    margin-left: auto;
}

.bloc_accueil_a-la-une::before {
  background: radial-gradient(ellipse at top left, #DFE6E8, #DFE6E8, #F6F4EE, #F6F4EE);
  left: 0;
}

[class^=block--animation] {
  background-color: white;
  border: 1px solid #D7D7D7;
}

.animation-single [class^=block--animation] {
  background: transparent;
  border: 0;
}

.bloc_accueil h2 {
  color: #6A921F;
}

.bloc_accueil_agenda {
  background-color: white;
}

.button.btn-primary:hover,
.button:focus.btn-primary:not(.dropdown-toggle), 
.button:focus.primary_button:not(.dropdown-toggle), 
.button:has(a:focus).btn-primary:not(.dropdown-toggle), 
.button:has(a:focus).primary_button:not(.dropdown-toggle),
.button.btn-primary:not(:disabled):not(.disabled):active, 
.button.primary_button:not(:disabled):not(.disabled):active,
.button:focus.btn-primary:not(:disabled):not(.disabled):active, 
.button:focus.primary_button:not(:disabled):not(.disabled):active, 
.button:has(a:focus).btn-primary:not(:disabled):not(.disabled):active, 
.button:has(a:focus).primary_button:not(:disabled):not(.disabled):active,
.button.primary_button:hover:not(:disabled):not(.disabled),
.button.primary_button:active:not(:disabled):not(.disabled),
.button.primary_button:focus:not(:disabled):not(.disabled),
.button.primary_button.active:not(:disabled):not(.disabled)
{
  color: var(--text_color);
  background-color: #ACC877;
  border-color: #ACC877;
}

.tag .button, 
.tag .button:hover, 
.tag .button:focus, 
.tag .button:hover:focus,
.button
{
    border-radius: 40px;
}

a.pdf, a.external_link, a.internal_link { 
    padding: .5em .75rem;
    border-radius: 40px;
}
a.pdf:hover, a.external_link:hover, a.internal_link:hover { 
    color: var(--text_color);
    background-color: #A1C77E;
}

.page_statique, .actualite-body .field--type-text-with-summary .field__item {
  padding-bottom: 2rem;
}

#page, #main-wrapper, .font-page-colored {
    background-color: #F6F4EE;
}

#block-menuprincipal ul.nav.navbar-nav {
    justify-content: flex-end;
    column-gap: 1.25rem;
}

#block-menuprincipal ul.nav.navbar-nav::after {
  display:none;
}

.a-la-une_front_teaser_panel::before {
    color: #ACC877;
}

.a-la-une_front_teaser_panel {
  background-color: white;
}

.font-page-colored .a-la-une_front_teaser_panel h3, .font-page-colored .a-la-une_front_a_la_une_panel h3 {
    color: #010101;
}

form#syrtis-search-form-v2 .row-sources {
  gap: 2rem !important;
  margin-top: 1em !important;
}

form#syrtis-search-form-v2 .search-block .btn-syrtis-search{
  background-image: url("/modules/custom/syrtis_search/assets/images/icon_search.svg");
}

form#syrtis-search-form-v2 .search-block {
  box-shadow: 0px 4px 23px 0px #00000040;
}

.syrtis-search-form-v2-container {
  padding-block: 2rem !important;
}

.bloc_en_avant {
  background-color: #ACC87733;
  padding: 1rem 2rem;
}

.menu--main .menu_burger_icon::before {
  content: url("/sites/default/files/ressources/menu_burger.svg") !important;
}
.icon_menu_home {
  content: url("/sites/default/files/ressources/menu_home.svg") !important;
}
.icon_menu_user::before, .menu--account .menu_burger_icon::before {
  content: url("/sites/default/files/ressources/menu_user.svg") !important;
}

.menu--main .desktop > ul {
      justify-content: space-between;
}

.block_special_alert .alert-content {
    flex: 1;
    text-align: center;
}