/* Affichage des résultats */

body.page-recherche #page-title {
  display: none;
}

.onglets {
  background-color: #f0f0f0;
  padding: 0;
  position: relative;
  z-index: 0;
}

body.page-recherche #content {
  padding: 0;
}

#zone_droite {
  background-color: #fefefe;
  min-height: 52px;
  padding: 5px;
  position: relative;
  z-index: 1;
}

.onglets ul {
  padding: 0;
}

.onglets ul li a.active {
  background-color: #fff;
  font-weight: bold;
}

.onglets li {
  display: inline-block;
  padding: 0px;
}

.onglets li a {
  padding: 10px 15px 9px 15px;
  color: black;
  font-weight: normal;
  background-color: #e8e8e8;
  border: solid #fefefe;
  border-width: 1px 1px 0px 0px;
}

.onglets li:first-child a {
  border-left: 1px solid #fefefe;
}

.onglets li:last-child a {
  border-right: 1px solid #fefefe;
}

#recherche_facette {
  margin-top: 32px;
}

.resultat {
  clear: both;
  margin: 1em 0;
}

.resultat:first-of-type {
  margin-top: 20px;
}

.resultat-contenu h3.titre {
  margin: 0;
  line-height: 1em;
  padding-bottom: 5px;
}

.resultat-contenu p {
  margin: 0;
}

.resultat-logo-partenaire {
  float: left;
}

.resultat-contenu {
  margin-left: 40px;
  margin-right: 15px;
}

div.resultat-ressources {
  min-height: 125px
}

div.resultat-images {
  display: inline-block;
  padding: 5px;
  text-align: center;
  width: 190px;
  margin: 5px;
  vertical-align: top;
}

div.resultat-images h3 {
  margin: 5px;
  line-height: 1em;
}

div.resultat-images a:link,
div.resultat-images a:active,
div.resultat-images a:visited {
  color: #37424a !important;
  text-decoration: none !important;
}

.resultat.teaser .sommaire li:hover,
div.resultat-images:hover {
  background-color: #f0f0f0;
}

div.resultat-images .source-image {
  color: #37424a;
  font-weight: normal;
  font-size: 10pt;
}

div.resultat-images .vignette img {
  max-height: 125px;
  max-width: 200px;
  overflow: hidden;
  padding-left: 15px;
}

div.resultat-ressources .vignette {
  background-color: #000;
  display: inline;
  float: left;
  margin-right: 20px;
  text-align: center;
  width: 150px;
  margin-top: 5px;
}

div.resultat-ressources .vignette img {
  max-height: 90px;
  max-width: 150px;
  vertical-align: middle;
}

div.resultat-ressources p {
  min-height: 75px;
}

div.vignette span.utilisation {
  background-repeat: no-repeat;
  height: 15px;
  padding-left: 15px;
  position: relative;
  top: 7px;
  left: -8px;
  width: 15px;
}

div.vignette span.restreint {
  background-image: url("/misc/message-16-warning.png");
}

div.vignette span.libre {
  background-image: url("/misc/message-16-ok.png");
}

/* Facettes */
div#block-recherche-carrefour-recherche-facette {
  padding: 7px;
}

div#recherche_facette fieldset {
  border: none;
  padding: 0;
  margin: 0 0 10px;
}

div#recherche_facette div.content > fieldset > legend {
  border-bottom: 1px solid #a5a5a5;
  margin: 0 0 10px;
  width: 100%;
}

div#recherche_facette li {
  border: none;
  line-height: 1.5em;
}

div#recherche_facette li:hover {
  background-color: #f0f0f0;
  border-radius: 5px;
}

div#recherche_facette li > hr {
  margin: 1px 10px;
}

div#recherche_facette input[type="checkbox"] {
  float: left;
  margin: 0;
  position: relative;
  top: 10px;
}

div#recherche_facette div.element_critere > label,
div#recherche_facette li:not(.showmore_toggle) a,
div#recherche_facette li:not(.showmore_toggle) a:hover {
  color: #37424a !important;
  font-weight: normal;
  font-size: .9em;
  text-decoration: none !important;
  display: block;
  padding: 5px 0 5px 26px;
}

div#recherche_facette div.element_critere > label span {
  color: #37424a !important;
}

div.element_critere input {
  display: none;
}

div.element_critere.critere_avec_logo label {
  min-height: 31px;
}

div.element_critere input:checked + label,
div.element_critere a.retirer_critere {
  padding-left: 0px !important;
  font-weight: bold !important;
  background-color: #b3f38e;
  border-radius: 5px;
  border: 2px solid #339937;
}

div.element_critere a.retirer_critere:hover {
  -webkit-filter: brightness(110%);
  filter: brightness(110%);
}

div.element_critere input:checked + label {
  padding: 5px 0 5px 20px !important;
}

div.element_critere input + label .critere_logo {
  -webkit-filter: grayscale(100%);
  filter: grayscale(100%);
}

div.element_critere input:checked + label .critere_logo {
  -webkit-filter: grayscale(0%);
  filter: grayscale(0%);
}

.critere_logo {
  vertical-align: text-top;
  float:left;
  margin-right: 8px;
}

div#recherche_facette .nb_ressource::before {
  content: "(";
}

div#recherche_facette .nb_ressource::after {
  content: ")";
}

div#recherche_facette .nb_ressource {
  color: #787f84;
}

div#recherche_facette div.retirer_x {
  color: #ff6319;
  font-weight: bold;
  padding: 1px 3px 1px 10px;
  float: left;
}

div#recherche_facette div.retirer_x::after {
  content: url(../images/check1.png);
}

div#recherche_facette a.retirer_critere div:nth-child(2) {
  display: none;
}

div#recherche_facette button.appliquer {
  font-size: .70em;
}

div#recherche_facette fieldset.datepicker a.fieldset-title {
  font-size: 0.8em;
  font-weight: normal;
  padding: 6px;
}

div#recherche_facette fieldset.datepicker label {
  float: left;
  font-size: 0.8em;
  font-weight: normal;
  margin-left: 15px;
  width: 40px;
}

div#recherche_facette .nb_ressource + span {
  display: none;
}

div.spacer {
  float: left;
  padding: 8px;
}

div#recherche_facette li.showmore_toggle a {
  color: #ff6319;
  font-size: 0.9em;
  font-weight: normal;
  padding: 6px;
}

li.showmore {
  display: none;
}

li.showmore_toggle a {
  cursor: pointer;
  float: right;
}

#infinitescroll-loader div {
  width: 43px;
  height: 11px;
  background: url(../images/ajax-loader.gif) left top no-repeat;
  margin: 0 auto;
}

a.edit {
  background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA2lJREFUeNqUlblv01Acx/18JY7TNhEpKU3SSkAlkLowl6vqyCEEAqlVlwoJwcICKwMMiAHxB5SBBcQhYKD8AzAWCQkkJphIEySaNolpEtvxwffVdvrixCE8yYnf9Xnf3/VMFhZOJUql8t2dncZlnudHuCGb4ziyJEnfC4XcFUWJ/zBNK1ksFp9alp2dmipcisdjZawRBbzcB/w24CnsU4Z5sFGRZakC+GIioXwzzXZyY6P8Qtf1c67r5BuN5ryqJt5DQJ3k85MlwCex0SWE1Kk4Riih48w756Jh469c7sAS4F8Nw4TyEoWfASewjpNl+TPWnCdQUcVYCpNVDMxh8yZl9PL3+oIgNmFB3TR74UEDg8PYugjVjg+BMnkzFpMrmBQG+R977EHw4ABRFMtiaFCkcPofIZ+qMtpt6vNoOHURAr+Wz+eWeQ/cDQlDQ/AEhbda/eG27XDx+C58EW5s8N2me4Yw6jtH8zwxLMtSkS0vo+CBcppdCHJD140cz4BZS9jMIZ5yW4XPn7darUHwdwHcMIwjsPSNGIBD6jtuQUCtdtsaxeJn/4BTtyx5yvUZWLqGFJ7mXTYApDsGNMMwb6HSV5vNZiQ88DlSvIEYjWH9a1hwGOs1nhDSk2G+ese2balS2VoZGVFfCYJQZcWEfQ54k2Yg9qg45KDPJaEYuJ0A01ynanDAKoJ1MpvdfxFjnUPYbKFwHBbbE0jMTnJ0B5d0FROy5RhexXpduwkXnQ0Ogcou5Qy8p4mDYoCgnvDzn8Mht/AqjY/vu6ZpOxdyuckbvcp7W98Y0DHkPA/XzAW+pq1Wq1/FdRyfni4sS5IYCWeRYr8YoLWRBXnEII9q/ABff1QUZR3/X9DfwryMpVFVz9YTF6oD75d+KGC+hqv8NKA/kUGubylNawkP30e5O0wMgg5P/Yui0QKgv44tRLeferx2HSR6LulklEWzh7ld6YzNjvWpl72A8jxd1/Zi6x+Awd8ApeGWse3t6vV0Ov04uIN6r6Vwn7V+d97WtD8rYI3SPp4amZ09eq9ard2Bn/2vEKlhuRNBHNTfNQLwFIXTQhwdTT4UM5nMIxTUPC6o494hXCoiXkM1D04LUfk0MZF9IMzMHNKTSfUtzXV8BjPU72g6rbP/fbC3CZcXVVV9gu/7dSTK9l8BBgB2GCcxemplSgAAAABJRU5ErkJggg==") no-repeat;
  display: none;
  float: right;
  height: 25px;
  text-indent: -99999px;
  width: 25px;
  margin-right: -10px;
  outline: 0;
}

.resultat.teaser {
  padding: 10px 0px;
  border-top: 1px solid #dddddd;
  border-bottom: 1px solid #dddddd;
  background-color: #f7f7f7;
}

.resultat.teaser .resultat-images {
  width: 165px;
}

.resultat.teaser .resultat-images img {
  height: 100px !important;
  padding: 0;
}

.resultat.teaser .sommaire li {
  list-style-type: none;
  padding-left: 0px;
}

.resultat.teaser .sommaire a {
  font-size: 90%;
}

.resultat.teaser .sommaire p {
  font-size: 85%;
}

@media all and (min-width: 770px) and (max-width: 898px) {
  div.resultat.teaser .resultat-images:last-of-type {
    display: none;
  }
}

@media all and (max-width: 627px) {
  div.resultat.teaser .resultat-images:last-of-type {
    display: none;
  }
}
