

/* Max content widths */

.size-auto,
.size-full,
.size-large,
.size-medium,
.size-thumbnail {
	max-width: 100%;
	height: auto
}

/* Navbar */

.navbar-topbar {
  border-radius: 0;
}

.navbar-fixed {
    height: 60px;
    padding: 1.5em 1.5em 3.5em 3em;
    box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.06), 0 4px 5px 0 rgba(0, 0, 0, 0.06), 0 1px 10px 0 rgba(0, 0, 0, 0.08);
    position: fixed;
    top: 0;
    width: 100%;
}

.navbar .dropdown-menu li {
  width: 100%;
  margin-left: 0 !important;
}


/*
Header logo
If you require a Site title and a logo, an example of how to do this is provided below (use your own logo):

#site-title a {
  display: inline-block;
	padding-left 60px;
  background: url('../../img/logo.png') 0 0 no-repeat;
}
*/

/* Main content */

.navbar-brand-div h1 {
  font-size: 1em !important;
}

#content article {
  margin: 20px 0
}
#content header {
  margin: 20px 0
}
#content section {
  margin-bottom: 20px
}
#content footer {
  padding-bottom: 20px
}
.page-header {
  background: #f9f9f9 none repeat scroll 0 0;
  border-bottom: 1px solid #eee;
  margin: 40px 0 20px;
  padding: 10px 14px;
}
/* Sidebar */

.sidebar {
  margin-top: 20px
}
.sidebar section {
  margin-bottom: 40px
}
.sidebar ul,
.sidebar ol {
  list-style-type: none;
  padding: 0
}
.sidebar li {
  margin: 10px 0
}

/* Hide form placeholders on focus */

input:focus::-webkit-input-placeholder { color: transparent; }
input:focus:-moz-placeholder { color: transparent; } /* FF 4-18 */
input:focus::-moz-placeholder { color: transparent; } /* FF 19+ */
textarea:focus::-webkit-input-placeholder { color: transparent; }
textarea:focus:-moz-placeholder { color: transparent; } /* FF 4-18 */
textarea:focus::-moz-placeholder { color: transparent; } /* FF 19+ */

/* Comments */

#respond {
  margin-top: 40px
}
ol.commentlist {
	counter-reset: li; /* Initiate a counter */
	padding: 0
}
ol.commentlist ul {
  padding: 0
}
ol.commentlist > li {
	position: relative;
	margin: 0 0 20px 0;
	list-style: none /* Disable the normal item numbering */
}
ol.commentlist > li:before {
  content: "Thread " counter(li); /* Use the counter as content */
  counter-increment: li; /* Increment the counter by 1 */
  position:absolute;
  top: 0;
  right: 0;
  border-bottom: 1px solid #ddd;
  border-left: 1px solid #ddd;
  border-bottom-left-radius: 4px;
  padding: 5px 20px 5px 10px;
  color: #999
}
ol.commentlist li ol,
ol.commentlist li ul {
  list-style-type: none;
  margin: 0
}

.commentlist li li {
  background: #f9f9f9;
}
.commentlist li li li {
  background: #fff
}
.commentlist li li li li {
  background: #f9f9f9
}
.commentlist li li li li li li {
  background: #fff
}
.commentlist li {
  padding: 20px
}
.commentlist ul li {
  margin-top: 20px;
  margin-bottom: 0
}
.reply p {
  margin: 0
}

/* Site footer */

.site-footer {
  padding: 40px 0
}
.site-footer ul,
.site-footer ol {
  list-style-type: none;
  padding: 0
}
.site-footer li {
  margin: 10px 0
}
.site-sub-footer p {
  text-align: center
}

.site-footer p {
  text-align: center
}



/*   */

body, html {
    font-family: 'Roboto', sans-serif;
	font-size: 1.0em;
	background-color: #fff;
}

label,
.btn,
button {
    cursor: pointer;
}


footer,
.bg-primary {
    background-color: #6A8692;
}

footer {
    color: #fff;
}


/* sticky footer */

html {
	position: relative;
	min-height: 100%;
}

body {
	/* margin-bottom: 150px; */
}

.rrrfooter {
	position: absolute;
	bottom: 0;
	width: 100%;
	height: 250px;
}



/* homepage search masthead  */
.frontpage-masthead .form-inline {
	display: block;
	margin-top: 50px;
	padding-top: 50px;
}

/* increase homepage search box */
.frontpage-masthead .form-inline .search {
    width: 35rem;
}


.search-results article:hover {
	box-shadow: 0 0 10px #ccc;
}

.search-results dd {
    margin-bottom: 0rem;
}

/* ------------------------------- */
/* search results sidebar facettes */

.facette .input-group .form-control {
    display: block;
    position: relative;
    padding-right: 1.8rem;

    -ms-word-break: break-all;
     word-break: break-all;
     word-break: break-word;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    hyphens: auto;
}

.facette .input-group .form-control .badge {
    position: absolute;
    top: .5rem;
    right: .5rem;
}

.bg-percentage {
  /* PH: block style ...
  background: transparent url(/wp-content/themes/b4st/theme/assets/evidensse/93C5BE-0.5.png) 0 center no-repeat;
  */
  background-image: linear-gradient(to right, #e73b4e, transparent);
  /* PH: not supported on other stuff than content....
  background-size: attr(data-percentage) 100%; */
  background-position: left center;
  background-repeat: no-repeat;
}


.map-tags {
	display: none;
}

/* search tabs */

.search-results .nav-tabs .badge-loading {
	background-color: #e73b4e;
}
.badge-info {
    background-color: #26368C;
}

.search-results .nav-tabs .badge-loading:after {
	content: " ...";
}


/* ------------------------------- */
/* more/less toggle */

.btn-more-switch .label-alternate,
.btn-more-switch.collapsed .label-default {
    display: inline-block;
}

.btn-more-switch .label-default,
.btn-more-switch.collapsed .label-alternate {
    display: none;
}


/* ------------------------------- */
/* autocomplete */

.ui-autocomplete {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1000;
  float: left;
  display: none;
  min-width: 160px;
  _width: 160px;
  padding: 4px 0;
  margin: 2px 0 0 0;
  list-style: none;
  background-color: #ffffff;
  border-color: #ccc;
  border-color: rgba(0, 0, 0, 0.2);
  border-style: solid;
  border-width: 1px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  -webkit-background-clip: padding-box;
  -moz-background-clip: padding;
  background-clip: padding-box;
  *border-right-width: 2px;
  *border-bottom-width: 2px;

  .ui-menu-item > a.ui-corner-all {
    display: block;
    padding: 3px 15px;
    clear: both;
    font-weight: normal;
    line-height: 18px;
    color: #555555;
    white-space: nowrap;

    &.ui-state-hover, &.ui-state-active {
      color: #ffffff;
      text-decoration: none;
      background-color: #0088cc;
      border-radius: 0px;
      -webkit-border-radius: 0px;
      -moz-border-radius: 0px;
      background-image: none;
    }
  }
}

.ui-autocomplete-category {
	padding-left: 5px;
	font-weight: bold;
}

.ui-autocomplete-category-A {

}

.ui-autocomplete-item {
	padding-left: 10px;
}

.ui-autocomplete-item-category-A {
	/* background-color: #0088cc; */
}



/* IE fixes */
/* inherit value creates ghost gutters */
.search-results article .card-block {
    height: 100%;
}



.home { background-color: #000; }


.carousel-control-prev-icon,
.carousel-control-next-icon {
	width: 40px;
	height: 40px;
	color: #000;
}

.carousel {

}

.carousel .card {
	background-color: inherit;
	/*text-transform: lowercase;*/
	font-size: 18px;
	font-weight: bold;
	border-color: #fff;
}

.carousel .card-block {
	/*padding: 15px;*/
}

.carousel .card a {
	/*color: #fff;*/
}

.carousel-multi .card {
	background-color: #fff;
}






.bg-grey {
	background-color: #ccc;
}

.bg-white {
	background-color: #fff;
	color: #000;
}


.bg-black {
	background-color: #000;
	color: #fff;
}


.form-search .search {
	outline: none;
	border: 1px solid #f4f4f4 !important;
	-webkit-box-shadow: none !important;
	-moz-box-shadow: none !important;
	box-shadow: none !important;
}

.bg-white .navbar-brand {
	color: black;
	text-transform: uppercase;
}

.list-inline-item {
	text-align: center;
}

.li-inline-first {
	padding-left: 10px;
	padding-right: 5px;
}

.list-inline-item-divider {
	/* border-right: 1px solid grey; */
}

.list-inline .list-inline {
	padding: 0 5px 0 5px;
}

.doc-sidebar-partners {
	border: 1px solid #ccc;
	padding: 10px;
	margin-bottom: 30px;
}

.doc-sidebar-partners h4 {


}

.doc-sidebar-partners h5 {

}


article.evidensse_doc {
	padding: 0 20px;
}

.doc-title {
	font-size: 2em;
}
.docAssocs-content {
  text-align: center;
}
ul.ul-docAssocs{
  list-style:none !important;

}
ul.ul-docAssocs li{
  margin-bottom: 2em;
}

.ul-docAssocs .pdfLink {
  display: inline-block;
  font-size:  1.5em;
  text-align: center;
}

.doc-thumb,
.doc-author-thumb {
	text-align: center;
	background-color: #efefef;
}

.doc-part-box {
	padding-bottom: 30px;
	margin-bottom: 30px;
	border-bottom: 1px solid #ccc;
}

.doc-thumbnail img {
	max-height: 300px;
}

.doc-author-thumbnail img {
	max-height: 150px;
}



/* make sure modals dont get stuck underneath the header */
.modal {
	top: 150px;
}

.card-text {

}

.main-nav {
	-webkit-padding-start: 0;
}

.main-nav ul,
.main-nav ul ul,
.main-nav ul ul ul {
	-webkit-padding-start: 10px;
}

.main-nav ul li:hover {
	background-color: #fff;
}

.main-nav .dropdown-item {
	padding: 3px 1rem;
}





.login h1 {
	display: none;
}

.login h1 a {
	background-image: none;
}


/* addthis */

.at-share-btn-elements {
	text-align: right;
}

.at-share-btn {
	margin: 0 1px 0 0 !important;
}

.at-share-btn:hover {
	margin: 0;
	transition: none !important;
	transform: none !important;
	transition-property: none !important;
}

span.nav-mimick-item,
.nav-mimick-item a,
.nav-mimick-item:hover {
	text-decoration: none;
	color: #000;
}

span.nav-mimick-item:hover,
.nav-mimick-item:hover,
.at-share-btn:hover {
	background-color: #efefef !important;
}


/* embed - oembed overrides */

/* aspect-ratio's */

.embed-container-wrapper {
  padding: 20px;
  margin-bottom: 20px;
  border: 1px solid #d8d8d8;
}

.embed-container {
  overflow: hidden;
  position: relative;
}

.embed-16-9 {
	padding-top: 56.25%;
}

.embed-a4 {
  padding-top: 121%;
}

.embed-container iframe,
.embed-container object {
   border: 0;
   height: 100%;
   left: 0;
   position: absolute;
   top: 0;
   width: 100%;
}


/* mejs */

/* @media only screen and (min-width : 1824px) { */
  .list-critiques {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* 3:3 grid on desktops */
    gap: 20px; /* Add spacing between cards */
    margin: 0 auto; /* Center the grid horizontally */
    /* max-width: 1140px;  */
  }
  
  @media (max-width: 768px) {
    .list-critiques {
      grid-template-columns: 1fr; /* 1:1 grid on mobile */
    }
    .critique-listing-inner{
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
    }
    .critique-item {
      width: 100% !important;
      margin-bottom: 25px;
    }
  }
  .list-critiques .card-img  {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 300px;
    background-size: cover;
    background-repeat: no-repeat;
  }

.single-critique img{
  /* float: left; */
  margin: 0 25px 25px 0;
}

.carousel-item .d-flex {
  display: flex;
  justify-content: space-around; /* Espacement entre les cartes */
}

.carousel-item .card {
  flex-grow: 1; /* Les cartes peuvent grandir pour remplir l'espace */
  flex-basis: calc(33.333% - 20px); /* Définit une base pour chaque carte avec un peu de marge */
  margin: 10px; /* Ajoute une marge autour de chaque carte */
}
.carousel-item > div {
  display: flex;
  flex-wrap: wrap; /* Permet aux cartes de passer à la ligne si nécessaire */
  justify-content: center; /* Centre les cartes horizontalement */
  width: 100%;
}

.critique-item {
  width: calc(33.333% - 20px); 
  height: 300px;
  
}

.carousel-item .card img {
  max-height: 200px;   
  width: auto; 
  display: block;
  margin: 0 auto; 
}
.allcritiques { 
  position: relative;
  padding: 1em;
}
.critique-cover {
  width: 100%;
  object-fit: cover;
  max-height: 500px;
}
.textCritique{
  font-size: 1.3em !important;
  margin-left: 1em;
}

/* Corrige le flexbox pour IE11 si nécessaire */
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
  .carousel-item .d-flex {
      display: block;
  }
  .carousel-item .card {
      display: inline-block;
  }
}

.odswidget-table__cell-container span {
  text-wrap: wrap !important;
}


