#doc_recherche {
  display:flex;
  margin:15px 0 20px 0;
  justify-content:space-between;
}
#doc_recherche .champ-recherche-ligne {
  display:flex;
  margin:0 0 10px 0;
  justify-content:space-between;
}

#doc_recherche .champ-recherche-ligne:last-child {
  justify-content:flex-start;
}

#doc_recherche .champ-recherche-doc {
  flex:1;
  margin-right: 2%;
}

#doc_recherche .champ-recherche-doc.radio {
  flex:unset;
  height: 35px;
}

#doc_recherche .champ-recherche-doc > select, #doc_recherche .champ-recherche-doc > input[type=text] {
  width: 100%;
  height: 35px;
  text-align: left;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border: none;
  
  color:#8b9393;
  font-size: 18px;
  font-family: 'Dosis', sans-serif;
  font-weight: 400;
  border:solid 1px #8b9393;
  padding: 5px 30px 5px 10px;
  letter-spacing: 1px;
  border-radius: 0;
  transition: all 0.2s ease;
}
#doc_recherche .champ-recherche-doc > select {
  cursor: pointer;
}

#champs-recherche {
  display: flex;
  width: 100%;
  flex-wrap: wrap;
}

#doc_recherche .champ-recherche-doc > select:hover, #doc_recherche .champ-recherche-doc > input[type=text]:hover,
#doc_recherche .champ-recherche-doc > select:focus, #doc_recherche .champ-recherche-doc > input[type=text]:focus,
#reset-recherche:hover,
#boutons-recherche-doc > input[type="submit"]:hover {
  border-color: #454949;
  color: #454949;
  background-color: #EEE;
}



#doc_recherche .champ-recherche-doc > select::placeholder, #doc_recherche .champ-recherche-doc > input[type=text]::placeholder {
  opacity: 1;
}

#doc_recherche .champ-recherche-doc > select {
  background-image: url('../images/assets/icon-select-15x22.svg');
  background-size: 12px 20px;
  background-position: calc(100% - 10px) center;
}

.mots-cles {
  background-image: url('../images/assets/loupe_icon-21x21.svg');
  background-size: 21px 21px;
  background-position: calc(100% - 10px) center;
}

.datepicker {
  text-align:center;
  width:100px;
  background-image: url('../images/assets/icon-calendar-20x22.svg');
  background-size: 20px 22px;
  background-position: calc(100% - 10px) center;
}

.champ-recherche-label {
  display:inline-block;
  padding: 6px 8px 6px 30px;
  background-position:6px center;
  background-repeat:no-repeat;
  background-size: 20px;
  color: #8b9393;
  opacity:0.6;
  cursor:pointer;
  height:100%;
  border:solid 1px #8b9393;
  transition: all 0.2s ease;
}

.champ-recherche-check {
  display:none;
}

.champ-recherche-label:hover,
.champ-recherche-check:checked+label { 
  color:#000;
  opacity:1;
} 

#boutons-recherche-doc {
  display: flex;
}

#boutons-recherche-doc > * {
  display: block;
  cursor: pointer;
  width: 35px;
  height: 35px;
  min-width: 35px;
  background-color: #FFF;
  border:solid 1px #8b9393;
}

#boutons-recherche-doc > input[type="submit"] {
  margin-left: 5px;
  font-size: 16px;
  font-family: 'Dosis', sans-serif;
  font-weight: 400;
  color:#8b9393;
  transition: all 0.2s ease;
}

#reset-recherche {
  /*
  background-image: url('../images/assets/icon-refresh-25x22.svg');
  background-size: 20px 20px;
  background-position: center center;
  */
  width:auto;
    font-size: 16px;
    font-family: 'Dosis', sans-serif;
    font-weight: 400;
    color: #8b9393!important;  
    transition: all 0.2s ease;
    padding: 2px 6px 0 6px;
}

#documents_entete {
  display:flex;
  justify-content:space-between;
  align-items: center;
  background-color: #EEE;
  padding: 5px 5px 5px 10px;
  margin: 0 0 2% 0;
}

#documents_entete div,
#documents_entete span {
  font-size: 14px;
}

#documents h2 {
  font-size: 18px;
}

#documents .texte,
#documents .date  {
  font-size: 14px;
}

.listing--element.document {
  width: 23%;
  flex-direction: row-reverse;
}


.listing--element.variete {
  width: 18%;
  flex-direction: row-reverse;
  /*background-color:rgba(200,200,200,0.2);*/
  box-shadow: 0 2px 4px rgba(0,0,0,0.4);
  margin: 0 1% 1% 1%;
  padding:0;
}

.variete .synonymes {
  font-style:italic;
}

.listing--element.document .description {
  flex:auto;
}



.listing--element.document .document_capture {
  width: 20%;
  height: 120px;
}

.listing--element.document .document_capture_large {
  width: 100%;
  height: 150px;
}

.document-capture {
  
  max-width: 100px;
  
  float: left;
  margin: 0 10px 0 0;
}
.variete .document-capture {
  background-color:#eee;
  width: 100px; 
  height:100%;
  min-height:100px;
  background-size:cover;
  background-repeat:no-repeat;
  background-position:center;
}

.infos-variete {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.infos-variete li {
  width:45%;
}

#tri {
  height:30px;
  text-align: left;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border: none;
  cursor: pointer;
  color:#8b9393;
  font-size: 14px;
  font-family: 'Dosis', sans-serif;
  font-weight: 400;
  border:solid 1px #8b9393;
  padding: 5px 5px;
  letter-spacing: 1px;
  background-image: url('../images/assets/icon-select-15x22.svg');
  background-size: 10px 18px;
  background-position: calc(100% - 5px) center;
  transition: all 0.2s ease;
}

#tri:hover,
#tri:focus {
  border-color: #454949;
  color: #454949;
  background-color: #EEE;
}

.listing-wrapper {
  display:flex;
  flex-wrap:wrap;
  margin: 0 -1%;
}

.doc_video:hover:after {
  background-color: rgba(255,255,255,1);
}

.doc_video::after {
  content: '';
  position: absolute;
  top: 10px;
  right: 10px;
  display: block;
  width: 40px;
  height: 40px;
  border-radius: 25px;
  background-color: rgba(255,255,255,0.6);
  background-image: url('../images/assets/icon-video-22x22.svg');
  background-position: center center;
  background-size: 30px 30px;
  transition: all 0.2s ease;
}

.listing--element {
  position: relative;
  width: 48%;
  margin: 0 1% 4% 1%;
  
  display:flex;
}

.listing--element-4max {
  width: 23%;
}

.listing--element--vertical {
  display:block;
}

.listing--element .document_capture {
  width:30%;
  margin-right:2%;
}

.listing--element--vertical .document_capture {
  width:100%;
  margin:0 0 2% 0;
}

a.listing--element:hover .document_capture {
  filter: brightness(80%);
  
}

.listing--element h2 {
  color: #323535!important;
  margin: 10px 0!important;
}

.listing--element .texte {
  font-size: 18px;
  font-family: 'Dosis', sans-serif;
  letter-spacing: 1px;
}

.listing--element .description {
  padding: 0;
  width:68%;
}
.listing--element--vertical .description {
  width:100%;
}

.listing--element .date {
  display: inline-block;
  position: relative;
  font-weight: 400;
  font-size: 18px;
  padding-top: 10px;
  letter-spacing: 0.5px;
  font-family: 'Amaranth', sans-serif;
  color:#999!important;
}

.listing--element .date::before {
  content: '';
  position: absolute;
  top: 0;
  height: 4px;
  width: 40px;
  background-color:
  #323535;
  -webkit-transition: all 0.2s ease;
  transition: all 0.2s ease;
}

a.listing--element:hover .date::before {
    width: 100%;
}

.document_capture {
  background-repeat:no-repeat;
  background-position:center;
  height:200px;
  width:100%;
  background-color: #c5c9c9;
  background-size:80% 80%;
  background-image: url('../images/assets/parc_naturel_logo-blanc.svg');
  transition: all 0.2s ease;
}

.listing--element--vertical .document_capture {
  height:270px;
}

.listing--element .einfos {
margin-top:10px;
}
.listing--element .einfos span, .listing--element .einfos a{
  border-radius:4px;
  padding:4px;
  background-color: #888;
  color:#fff!important;
  font-size: 14px;
}


.listing--element .document_motscles {
  margin-top:5px;
  display:flex;
  flex-wrap:wrap;
}
.listing--element .document_motscles span {
  font-size: 14px!important;
  background-color:#a3a8a8;
  color:#fff!important;
  padding:2px 5px;
  display:inline-block;
  margin-top:5px;
  margin-right:5px;
}

.listing--element .liens {
  margin: 5px -5px 0 -5px;
  display:flex;
  flex-wrap:wrap;
}
.listing--element .liens a {
  text-align: center;
  border:1px solid #bbdeb0;
  background-color:#bbdeb0;
  color:#fff!important;
  padding:2px 5px;
  margin: 5px;
 /* flex:1;*/
}
.listing--element .liens a:hover {
  background-color:#323535;
  color:#fff!important;
  border-color: #323535;
}


/* ========================================
  MIN-WIDTH 1920px
=========================================== */
@media (min-width: 1920px) {
  .listing--element h2 {
    font-size: 30px;
  }
}

/* ------------------------------------------- 
  MAX-WIDTH 1500px
------------------------------------------- */
@media (max-width: 1500px) {
  .listing--element {
    
  }
  .listing--element-4max,
  .listing--element.document {
    width: 31.33%;
  }
}

/* ------------------------------------------- 
  MAX-WIDTH 1200px
------------------------------------------- */
@media (max-width: 1200px) {
  .listing--element h2 {
    font-size: 20px;
  }
  #champs-recherche {
    justify-content: space-between;
  }
  #doc_recherche .champ-recherche-doc {
    flex:unset;
    width: 48%;
    margin: 0 0 2% 0;
  }
  #doc_recherche .champ-recherche-ligne:last-child .champ-recherche-doc {
    width: 25%;
  }
  #doc_recherche {
    flex-direction: column;
  }
  #doc_recherche .champ-recherche-ligne {
    flex-wrap: wrap;
    margin:0;
    text-align: center;
  }
  #doc_recherche .champ-recherche-doc.mots-clefs {
    width: 100%;
  }
  #doc_recherche .champ-recherche-doc.radio {
    width: 50%;
  }
  #boutons-recherche-doc {
    justify-content: center;

  }
  .listing--element-4max,
  .listing--element.document {
    width: 48%;
  }
  
  
}

/* ------------------------------------------- 
  MAX-WIDTH 1000px
------------------------------------------- */
@media (max-width: 1000px) {
  .listing--element {

  }
  
}

/* ------------------------------------------- 
  MAX-WIDTH 700px
------------------------------------------- */
@media (max-width: 700px) {
  #doc_recherche .champ-recherche-ligne:last-child .champ-recherche-doc {
    width: 50%;
  }
  .listing-wrapper {
      display: block;
      margin: 0;
  }  
  .listing--element,
  .listing--element-4max,
  .listing--element.document {
    width: 100%;
    margin: 0 0 40px 0;
  }
  #doc_recherche .champ-recherche-doc {
    width: 100%;
    margin: 0 0 2% 0;
  }
  /* --- Cacher/Afficher la recherche Agenda sur Mobile --- */
  #ra-action::after {
    content: '';
    display: block;
    width: 20px;
    position: absolute;
    top: 0;
    right: 6px;
    bottom: 0;
    background-image: url('../images/assets/arrow-10x18.svg');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 10px 18px;
    transition: all 0.2s ease;
  }
  #ra-action {
    position: relative;
    cursor: pointer;
    margin-bottom: 20px;
    border: 1px solid#8b9393;
    padding: 5px 8px;
    transition: all 0.2s ease;
  }
  #ra-action.active::after {
    transform: rotate(90deg);
  }
  #ra-action.active {
    border-top-color: #FFF;
    border-right-color: #FFF;
    border-left-color: #FFF;
    border-bottom: 1px solid#8b9393;
  }
  #ra-action.active + form {
    display: block;
  }
  #ra-action + form {
    display: none;
  }
  
  
  .infos-variete {
    display:block;
  }
  .infos-variete li {
    width:100%;
    margin-bottom:10px;
  }  
}