/*
 *  Copyright 2012 Anyware Services
 *
 *  Licensed under the Apache License, Version 2.0 (the "License");
 *  you may not use this file except in compliance with the License.
 *  You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 *  Unless required by applicable law or agreed to in writing, software
 *  distributed under the License is distributed on an "AS IS" BASIS,
 *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *  See the License for the specific language governing permissions and
 *  limitations under the License.
 */

/* CSS FOR RESULT SORT */

.results-sort
{
	text-align: right;	
}

.results-sort span.label
{
	display: inline-block;
	vertical-align: middle;
}

.results-sort ul
{
	display: inline-block;
	padding: 0;
	margin: 0 !important;
	text-align: right;
}

.results-sort ul li
{
	list-style-type: none;
	margin-left: 3px;
	display: inline-block;
    vertical-align: middle;
    text-align: center;
	padding: 2px 5px;
	border: 1px solid #333;
}

.results-sort p 
{
	float: left;
	padding: 0;
	padding-top: 2px;
	margin: 0;
	text-align: right;
}

.results-sort ul li span.current
{
	font-weight: bold;
	padding: 1px 0;
}

.results {
	padding: 10px 0 30px;
    margin:0;
    border-top: 1px solid #e4dbca;
}

.results ul
{
	margin-left: 0 !important;
	list-style-image: none !important;
}

.results ul li
{
	list-style-type: none;
	padding: 16px;
}

.results ul li img
{
	border-style: none !important;
}

.results ul li.even
{
	background-color: #F8F3EF;
	background-repeat: repeat;
/* 	padding: 5px 5px 5px 24px; */
/*     margin-bottom: 0; */
/*     background-position :4px 9px; */
}

.results a {
	text-decoration: underline;
}

.results .hit > a {
	 text-decoration: none;
	 font-size: 1.4em;
}

.results-sort span {
	display: inline-block;
}

.search-hits dt
{
	padding: 5px !important;
	overflow: auto;	
}

.search-hits img
{
	border: 0 none;
}
 
.search-hits .resource img, .search-hits .resource a
{
	vertical-align: middle;
}

.search-hits .resource span
{
	font-size: 0.8em;	
	vertical-align: sub;
}

.search-result h2 {
   	font-size: 24px;
    margin: 5px 0;
}
.search-result h3 {
    font-size: 18px;
    margin: 5px 0;
}

form.search {
	padding: 0 !important;
/* 	max-width: 500px; */
}

form.search span.error {
	margin-left: 170px;
}

form.search fieldset.checkbox-list {
	border:none;
}
form.search fieldset.checkbox-list legend {
    margin-left: -5px;
    margin-top: 5px;
    position: absolute;
}
form.search fieldset.checkbox-list .field {
	max-width: 900px;
	width: 40%;
    min-width: 245px;
    margin-left: auto;
    margin-right: 0;
}
form.search fieldset.checkbox-list .field .input {
	float: left;
	width: 25px;
	min-width: 25px;
}

form.search input.checkbox {
	width: auto;
	margin-left: 120px;
}

.no-result {
	padding: 10px 0 10px 10px;
}

.search-hits dd 
{
	margin-left: 0;
	margin-bottom: 10px;
	padding: 0 10px 5px 10px;
}

.search-hits dd span.site 
{
	font-size: 0.9em;
	font-style: italic;
}

.search-hits img.icon, .results img.icon
{
	margin-right: 10px;
	vertical-align: middle;
}

.search div.date 
{
	font-size: 0.9em;
	font-style: italic;
	text-align: right;
}

.ctypes-filter ul.ctypes 
{
	list-style-type: none;
	margin: 0;
	padding: 10px 0;
	text-align: center;
}

.ctypes-filter ul.ctypes li 
{
	display: inline-block;
    padding: 0 !important;
    vertical-align: middle;
    margin: 0 5px;
}

.ctypes-filter ul.ctypes li span 
{
	vertical-align: middle;
}

.results-sort ul li .button,
.ctypes-filter ul.ctypes li .button
{
	margin-bottom: auto !important;
	margin: auto !important;
	vertical-align: middle;
	display: inline-block;
}

.results-sort ul li input,
.ctypes-filter ul.ctypes li input
{
	font-size: inherit !important;
	font-style: inherit !important;
	font-weight: inherit !important;
    margin: 0 !important;
	padding: 0 !important;
	cursor: pointer;
	width: auto !important;
	height: auto !important;
	border: 0 none !important;
	background: none !important;
}

.ctypes-filter ul.ctypes .button
{
	display: inline-block;
	vertical-align: middle;
}

.ctypes-filter p.number 
{
	float: right;
	margin: 0;
}

.ctypes-filter p.number span 
{
	font-size: 1.8em;
}

	.results-sort ul li input,
	.ctypes-filter ul.ctypes li input
	{
		margin: -5px -3px;
	}

/* Faceted search */
.facet {
    margin-bottom: 10px;
}

.facet .facet-label {
    font-weight: bold;
    margin-bottom: 10px;
    border-bottom: 1px solid #DDDDDD;
    line-height: 2em;
}

.facet a.reset {
    font-weight: normal;
    float: right;
}
.facet a.reset .left {
    float: left;
    cursor: pointer;
    padding-right: 18px;
    background: url('../../img/services/list/delete_16.png') right 5px no-repeat;
}

.facet ul.options li.option {
    list-style: none;
    background: none;
    padding: 0;
    line-height: 1.2em;
    font-size: 1em;
}

.facets-criteria {
    margin-bottom: 20px;
    padding: 5px 10px;
    border: 1px solid #DDDDDD;
}

.facets-criteria .facet {
    min-height: 50px;
    padding-top: 5px;
}

#ametys-cms-zone-default .facets-criteria .facet {
	float: left;
    width: 32%;
    margin: 4px;
}

.facets-criteria a.see-all {
	font-style:italic;
}

/* Geocode */
.search.search-map div.map
{
	margin: 20px auto;
	border-width: 1px;
	border-style: solid;
	width: 100%;
}

.search.search-map div.results li.hit.page div.geoloc-info
{
	float: left;
}

.search.search-map div.results li.hit.page div.geoloc-info img.geo-pin
{
	border: none;
	margin: 0 8px 0 0;
	position: relative;
	top: -5px;
}

div.content-left .ametys-cms-service.search form.search > div {
	margin: 2px 0;
	border-top: 1px solid #9b7e56;
	padding-top: 10px 0;
}

div.content-left .ametys-cms-service.search form.search > div .field {
	background: none;
	padding: 1px 0 5px 0;
	border-bottom: 1px solid #e4dbca;
	width: 25.9em;
	list-style-image: none;
}

div.content-left .ametys-cms-service.search form.search > div .field select,
div.content-left .ametys-cms-service.search form.search > div .field input,
div.content-left .ametys-cms-service.search .radio {
	width: 220px;
	margin: 0 25px;
	box-sizing: border-box;
}

div.content-left .ametys-cms-service.search .button {
	margin-top: 10px;
/* 	display: inline-block; */
}

div.content-left .ametys-cms-service.search .radio>div {
	display: inline-block;
	font-size: 1.08em;
}

div.content-left .ametys-cms-service.search .radio>div>label {
	margin-left: 3px;
}

div.content-left .ametys-cms-service.search .radio>div.first {
	margin-right: 25px;
}

.service-search-validationdate {
	font-style: italic;
	font-size: 0.9em;
	color: #AD8F6B;
	text-align: right;
}
