#search .map {
    height: 0px;
    margin-top: 80px;
    transition: all .4s ease;
}
#search .map.open {
    height: 500px;
}

#search .map .display_map {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    background-image: url("./img/iitem_search_map.jpg");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    cursor: pointer;
}
#search .map .display_map.hidden {
    display: none;
}

#search .map .display_map:before {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgba(255, 255, 255, 0.8);
    z-index: 1;
    transition: all .4s ease;
}

#search .map .display_map:hover:before {
    background-color: rgba(255, 255, 255, 0.7);
}

#search .map .display_map.map_loaded {
    background-image: none;
}

#search .map .display_map.map_loaded:before {
    content: none;
}

#search .map .display_map p {
    position: relative;
    z-index: 2;
    font-family: "Mst Light";
    font-size: 20px;
    text-align: center;
}

#search .mapshadow {
    height: 43px;
    background: url('../images/shadow.png') top center no-repeat;
    margin-top: -25px;
    margin-bottom: 20px;
}

#search .sidebar {
    position: relative;
    width: 300px;
    float: left;
    background: #EEE;
    padding: 10px 15px;
    margin-top: 39px;
}

/*#search .sidebar:before{
    content: '';
    display: block;
    width: 100%;
    height: 50px;
    background-color: #FFF;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}*/

#search .sidebar .display_map{
    position: absolute;
    top: -20px;
    left: 0;
    width: 100%;
    text-align: center;
    transform: translateY(-100%);
    z-index: 2;
}
#search .sidebar .display_map i{
    margin-left: 10px;
}

#search .sidebar .sSelect, #search .sidebar .sSelectbar {
    width: 100%;
}

#search .sidebar .vehicles {
    text-align: center;
    margin: 10px 0;
}

#search .sidebar .vehicles .vehicle {
    width: 50%;
    padding: 3px;
    float: left;
    height: 100px;
    cursor: pointer;
}

#search .sidebar .vehicles .vehicle .img {
    height: 50px;
    line-height: 50px;
    vertical-align: middle;
}

#search .sidebar .vehicles .vehicle img {
    vertical-align: middle;
}

#search .main {
    margin-left: 330px;
    padding-bottom: 30px;
}

#search .filters {
    text-align: right;
}

#search .filters a {
    display: inline-block;
    margin-left: 2px;
    padding: 2px 5px;
    background: #EEE;
    border-radius: 2px;
    color: #333;
}

#search .filters .up {
    background: #07661C;
    color: white;
}

#search .filters .up .fa-long-arrow-up {
    color: #076633;
}

#search .caracteristiques label {
    width: 70%;
    display: inline-block !important;
}

#search .filters .up .fa-long-arrow-down {
    color: white;
}

#search .filters .down .fa-long-arrow-up {
    color: white;
}

#search .filters .down .fa-long-arrow-down {
    color: #076633;
}

#search .filters .down {
    background: #07661C;
    color: white;
}

#search .filters a:hover {
    background: #CCC;
    text-decoration: none;
}

#search .filters a .active {
    color: #076633;
}

#search .listing_items {
    width: 104%;
    margin-left: -2%;
    margin-top: 20px;
    margin-bottom: 20px;
}

#search .listing_items .listing_item {
    display: block;
    border: 1px solid #076633;
    margin-bottom: 2%;
    margin-right: 2%;
    float: left;
    width: 31.33%;
    height: 300px;
}

#search .main2 .listing_items .listing_item {
    display: block;
    border: 1px solid #076633;
    margin-bottom: 2%;
    margin-right: 2%;
    float: left;
    width: 23%;
    height: 300px;
}

#search .listing_items .listing_item .img {
    height: 0;
    padding-bottom: 50%;
    position: relative;
    display: block;
}

#search .listing_items .listing_item .img img {
    display: block;
    background: white;
    top: -9999px !important;
    right: -9999px;
    bottom: -9999px;
    left: -9999px !important;
    margin: auto;
    min-width: 100% !important;
    width: 100% !important;
    min-height: 100% !important;
    height: auto !important;
    transition: all 0.5s;
}

#search .listing_items .listing_item:hover .img img {
    transform: scale(1.2);
}

#search .listing_items .listing_item .img_shadow {
    background: url('../images/item-shadow.png') top center;
    height: 21px;
    margin-top: -13px;
}

#search .listing_items .listing_item .img .price {
    position: absolute;
    bottom: 5px;
    left: 50%;
    color: white;
    background: rgba(0, 0, 0, 0.5);
    font-family: "Mst Black";
    font-size: 20px;
    padding: 3px 0;
    min-width: 80px;
    margin-left: -40px;
    text-align: center;
}

#search .listing_items .listing_item .img .assistance {
    position: absolute;
    top: -3px;
    left: -5px;
    width: 150px;
    height: 80px;
    background-image: url('../images/assistance.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: top left;
    color: white;
    padding: 0px;
    font-family: "Mst Light";
    font-size: 0.9em;
    line-height: 13px;
}

#search .listing_items .listing_item .img .assistance.plus {
    background-image: url('../images/assistance+.png');
    width: 180px;
}

#search .listing_items .listing_item .infos {
    padding: 5px 10px;
}

#search .listing_items .listing_item .infos .title {
    font-family: "Mst Black";
    font-size: 1.4em;
    margin-bottom: 10px;
    color: #333;
    text-decoration: none;
}

#search .listing_items .listing_item .infos a {
    text-decoration: none;
}

#search .listing_items .listing_item .infos .caracteristic {
    font-family: "Mst Light";
    color: #444;
    margin: 1px 0;
}

#search .listing_items .listing_item .infos .caracteristic .ico {
    display: inline-block;
    width: 12px;
    height: 18px;
    background-position: top center;
    background-repeat: no-repeat;
    vertical-align: middle;
}

#search .listing_items .listing_item .infos .caracteristic .ico_marker {
    background-image: url('../images/icon-marker.png');
}

#search .listing_items .listing_item .infos .caracteristic .ico_places {
    background-image: url('../images/icon-places.png');
}

#search .listing_items .listing_item .infos .caracteristic .ico_user {
    background-image: url('../images/icon-user.png');
}

#search .listing_items .listing_item .infos .caracteristic .stars {
    display: inline-block;
    font-size: 1.2em;
    color: #EFAD1D;
    margin-left: 5px;
    position: relative;
    top: 0px;
}

#search .sidebar label {
    display: block;
}

#search .sidebar .submit {
    text-align: center;
}

@media screen and (max-width: 1000px) {
    #search .listing_items .listing_item {
        width: 48%;
    }
}

@media screen and (max-width: 980px) {
    #search .map {
        margin-top: 60px;
    }
}

@media screen and (max-width: 800px) {
    #search .listing_items .listing_item {
        width: 31.33%;
    }

    #search .sidebar .vehicles .vehicle {
        width: 25%;
    }

    #search .sidebar {
        width: 100%;
        float: none;
        margin-bottom: 20px;
        margin-top: 80px;
    }

    #search .main {
        margin-left: 2%;
    }
}

/* @media screen and (max-width: 700px) { */
    /* #search .listing_items .listing_item { */
        /* width: 48%; */
    /* } */
/* } */

/* @media screen and (max-width: 500px) { */
    /* #search .sidebar .vehicles .vehicle { */
        /* width: 50%; */
    /* } */
/* } */

@media screen and (max-width: 700px) {
    #search .listing_items .listing_item {
        width: 98%;
		height:inherit;
		margin-bottom:5%;
    }
	
}
@media screen and (max-width: 450px) {
	#search .filters a{
		margin-left: 5px;
		padding: 6px 5px;		
		font-size: 8px;
		font-weight: bold;
	}
}