/*=================Général =====================*/
/*=====solr/Resources/Css/PiResults/results.css=====*/

/*============== page accueil ==========*/
#search {
  display: inline-block;
  clear:none;
}
.result-found{
	font-weight: bold;
}
.result-range{
	display: block;
}

#header-contenu #tx-solr-search {
  width: 100% !important;
  float: left !important;
  margin-left:0.5em;  
  padding:0em !important;
}

#header-contenu #tx-solr-search-functions {
display:none;
}

#header-contenu .tx-solr-search-form {
  background: none !important;
  border: none !important;
  padding-left: 0.5em !important;
  padding-right: 0 !important;
  padding-bottom: 0 !important;
  padding-top: 0 !important;
  margin-bottom: 0 !important;
}

#header-contenu .tx-solr-q {
  border: 1px solid #999 !important;
  width: 70% !important;
  font-size:1.1em;
}

#header-contenu .tx-solr-submit {
  background-color: #457b3d !important;
  color:#ffffff !important;
  border-radius: 3px;
}



/*============== page recherche ==========*/
/* ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- */

#tx-solr-search {
  width: auto !important;
  float: none !important;
  padding:2em !important;
}

.tx-solr-search-form {
  /*background: none !important;*/
  border: none !important;
  /*padding-left: 0 !important;*/
  margin-bottom: 0 !important;
}

.tx-solr-q {
  border: 2px solid #457b3d !important;
  /*width: 70% !important;*/
  font-size:1.1em;
}

.tx-solr-submit {
  background-color: #457b3d !important;
  color:#ffffff !important;
  border-radius: 3px;
}

#tx-solr-search-functions {
  border:thin solid #457b3d; /*--ac-reunion-----*/
  border-radius: 1em; /*--ac-reunion-----*/
  margin-top:1em; /*--ac-reunion-----*/
  margin-left:2em;
  margin-right:2em;
  width: auto !important;
  float: none !important;
  background-color:#ffffff;
  display:none;
}

#tx-solr-search-functions h3 {
  color:#457b3d;  
}
/* ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- */
/* pagination */

#tx-solr-pagination {
    color: #457b3d;
    font-size: 0.9rem;
    height: 3em !important;
    margin: 1em 0 !important;
	background: #fff;
	border: 1px solid #ddd;
}

#tx-solr-pagination-results-per-page {
  float: left;
}

#tx-solr-pagination-results-per-page select {
  margin-left: 0.5em;
}

#tx-solr-pagination .tx-pagebrowse-pi1 {
  float: left !important;
}

#tx-solr-search #tx-solr-pagination ul.tx-pagebrowse {
  margin-top: 0px;
  padding-top: 2px;
}

/* ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- */
/* search functions */

#tx-solr-search-functions div.secondaryContentSection {
  padding: 0px 0px 0px 0px !important;
  margin: 0px 0px 0em 0px !important;
  width: auto !important;
}

#tx-solr-search-functions .secondaryContentSection .csc-header {
  padding-left: 10px;
}

#tx-solr-search-functions .secondaryContentSection .csc-header h1,
#tx-solr-search-functions .secondaryContentSection .csc-header h2,
#tx-solr-search-functions .secondaryContentSection .csc-header h3 {
  width: auto !important;
  
}

/* ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- */
/* faceting */

#tx-solr-faceting .facets .csc-header {
  padding: 3px 0px 3px 10px;
}
#tx-solr-faceting .facets h5 {
  text-decoration:none;
  color:#457b3d;
}
#tx-solr-faceting .facets .facet-option-list {
  padding: 5px 0px 10px 0px;
}

#tx-solr-faceting .facets .facet-type-numericRange .facet-option-list {
  width: 85%;
}

#tx-solr-faceting .facets .facet-label {
  background-color: #cfcecf;
  color: #fff;
  font-weight: bold;
}

#tx-solr-faceting .facets .facet-result-count {
  color: #999;
}

#tx-solr-faceting .facets .dateselector {
  margin-right: 5px;
  width: 85px;
}

#tx-solr-facets-in-use li {
  list-style-type: none;
  margin-left: 10px;
}

#tx-solr-facets-in-use .facets-remove-all {
  margin-top: 10px;
}

#tx-solr-faceting .facets li {
  list-style-type: none;
  margin-left: 0px;
}

/* ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- */
/* sorting */

#tx-solr-sorting li {
  list-style-type: none;
  margin-left: 10px;
}

/* ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- */
/* results */

#tx-solr-search .tx-solr-search-word {
  font-weight: bold;
}

#tx-solr-search .tx-pagebrowse {
  margin-top: 10px;
}

#tx-solr-search .results-list {
  margin-top: 10px;
  padding-left:0 !important;
}

#tx-solr-search .results-list li {
  list-style: none inside;
  margin-left: 0px;
}

.results-entry {
  border-bottom: 1px solid #cfcecf;
  margin-bottom: 20px;
}
.results-entry h5 {
  font-size: 1.2em;
  text-decoration:none;
  padding:0;
  margin:0;
}
.results-entry p {
  margin:0;
  text-align:justify;
  margin-bottom: 15px;
  height:200px;
  overflow:hidden;
}

.results-entry p:after {
    content:"";
    position:relative;
    left:0;
    height:20px;
    width:100%;
    background: linear-gradient(rgba(0,0,0,0), #fff);
}

.results-elevated {
  border: 1px solid #cfcecf;
  padding: 5px;
  background: #ffffef;
}

.results-elevated-label {
  font-size: 50%;
  color: #cfcecf;
  padding-bottom: 5px;
}

.results-topic {
  font-weight: bold;
  margin-bottom: 5px;
}

.result-content {
  clear: both;
}

.results-highlight {
  background: #fdee53;
}

/* ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- */
/* relevance */

.relevance {
  height: 2em;
}

.relevance-label,
.relevance-bar,
.relevance-percent {
  float: left;
  margin-right: 3px;
  font-size:0.8em !important;
  font-weight:bold;
  color:#e73950;
}

.relevance-bar {
  height: 20px;
  padding-top: 3px;
}

.tx-solr-relevance-bar {
  width: 100px;
  height: 8px;
  border: 1px solid #ccc;
  font-size: 1px;
  padding: 1px;
}

.tx-solr-relevance,
.tx-solr-relevance-fill {
  margin-right: 0px !important;
  height: 8px;
  padding: 0px;
  float: left;
}

.tx-solr-relevance {
  background-color: #e73950 !important;
}

.tx-solr-relevance-fill {
  background-color: #ccc;
}

/* ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- */
/* frequent searches */

#tx-solr-frequent-searches ul {
  padding-right: 10px;
}

#tx-solr-frequent-searches li {
  list-style-type: none;
  margin-left: 10px;
  display: inline;
}

.tx-solr-frequent-term-14 {
  font-size: 14px;
}
.tx-solr-frequent-term-15 {
  font-size: 15px;
}
.tx-solr-frequent-term-16 {
  font-size: 16px;
}
.tx-solr-frequent-term-16 {
  font-size: 16px;
}
.tx-solr-frequent-term-17 {
  font-size: 17px;
}
.tx-solr-frequent-term-18 {
  font-size: 18px;
}
.tx-solr-frequent-term-19 {
  font-size: 19px;
}
.tx-solr-frequent-term-20 {
  font-size: 20px;
}
.tx-solr-frequent-term-21 {
  font-size: 21px;
}
.tx-solr-frequent-term-22 {
  font-size: 22px;
}
.tx-solr-frequent-term-23 {
  font-size: 23px;
}
.tx-solr-frequent-term-24 {
  font-size: 24px;
}
.tx-solr-frequent-term-25 {
  font-size: 25px;
}
.tx-solr-frequent-term-26 {
  font-size: 26px;
}
.tx-solr-frequent-term-27 {
  font-size: 27px;
}
.tx-solr-frequent-term-28 {
  font-size: 28px;
}
.tx-solr-frequent-term-29 {
  font-size: 29px;
}
.tx-solr-frequent-term-30 {
  font-size: 30px;
}
.tx-solr-frequent-term-31 {
  font-size: 31px;
}
.tx-solr-frequent-term-32 {
  font-size: 32px;
}
.tx-solr-frequent-term-33 {
  font-size: 33px;
}
.tx-solr-frequent-term-34 {
  font-size: 34px;
}

@media only screen and (min-width: 531px) {
#search {
	clear: none;
	display: block;
	float: right;
	margin-left: 0;
	margin-right: 1%;
	/* line-height: 7em; */
	vertical-align: middle;
	min-width: 33%;
	position: relative;
	top: -70px;
	left: 30px;
}

}
@media only screen and (min-width: 768px) {
#tx-solr-search {
 /* width: 72% !important;
  float: right !important;
  padding:0em !important;*/
}
#tx-solr-search-functions {
  width: 24% !important;
  float: left !important;
  margin-top:0 !important;
  margin-left:1em; !important;
  margin-right:0 !important;
}

/*------- pagination ----------------*/
#tx-solr-pagination .tx-pagebrowse-pi1 {
  float: right !important;
}
}
@media only screen and (min-width: 922px) {
#search {
  min-width:20%;
}

}