@media screen and (max-width: 760px) {
  #secondHandList #filter .wrapper {
    width: 600px;
  }
  #secondHandList #filter .col {
    width: 280px;
  }
  #secondHandList #filter .colLeft {
    margin-right: 40px;
  }

  #secondHandList #filter .inputWrapper.mini {
    width: 130px;
  }
  #secondHandList #filter .inputWrapper.mini.first {
    /*margin-right:20px;*/
  }
}
@media screen and (max-width: 700px) {
  #showFilter_btn {
    display: block;
    height: 37px;
    background: /*url("forms/select.jpg") repeat-x scroll 0 0 rgba(0, 0, 0, 0)*/ #004389;
    /*box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.1);*/
    cursor: pointer;
    color: white;
    font-size: 15px;
    line-height: 36px;
    padding: 0 15px;
    /*border-bottom:1px solid #CCCCCC;*/
    position: relative;
  }
  #showFilter_btn .arrow {
    background-image: url("forms/select-picto.png");
    height: 15px;
    position: absolute;
    right: 10px;
    top: 10px;
    width: 16px;
  }
}

@media screen and (max-width: 660px) {
  .pageSecondHand .photoTitle {
    margin-bottom: 10px;
  }

  #secondHandList #filter {
    height: 0;
    overflow: hidden;
    margin-bottom: 10px;
  }
  #secondHandList #filter.open {
    height: auto;
  }
  #secondHandList #filter .wrapper {
    width: auto;
    margin: 0 20px;
    padding: 20px 0;
  }
  #secondHandList #filter .col {
    padding: 0;
    width: auto;
    display: block;
  }
  #secondHandList #filter .col.single {
    padding-top: 0;
  }
  #secondHandList #filter .colLeft {
    margin-right: 0;
    /*padding-top:20px;*/
    padding-bottom: 0;
  }
  #secondHandList #filter .colRight {
    /*padding-bottom:20px;*/
  }
  #secondHandList #filter .inputWrapper.submit {
    padding-top: 0;
  }
  #secondHandList #filter .inputWrapper.mini {
    width: 47%;
  }
  #secondHandList #filter .inputWrapper.mini.first {
    margin-right: 6%;
  }

  #secondHandList .table {
    display: table;
    width: 100%;
  }

  #secondHandList .item {
    display: table-row;
    width: 100%;
  }
  #secondHandList .item .photo,
  #secondHandList .item .cell {
    float: none;
    display: table-cell;
    height: auto;
    border-collapse: collapse;
    border-bottom: 1px solid #efefef;
  }
  #secondHandList .item .photo img {
    display: block;
  }
  #secondHandList .item .cell {
    border-right: 1px solid #efefef;
  }
  #secondHandList .item .titleWrapper {
    vertical-align: middle;
  }
  #secondHandList .item .title {
    padding: 0 20px;
  }
  #secondHandList .item .detail .cellContent {
    display: block;
  }

  #secondHandList .col2 {
    width: 216px;
  }
  #secondHandList .col3 {
    width: 94px;
  }
  #secondHandList .col5 {
    width: 100px;
  }
}
@media screen and (max-width: 1024px) {
  #secondHandList .tableHeader {
    display: block;
    width: 100%;
  }
  #secondHandList .tableHeader .col {
    display: table-cell;
    float: none;
  }

  #secondHandList .item .link {
    display: none;
  }
  #secondHandList .col5 {
    width: auto;
  }
	  #filter .inputWrapper {
		display:flex;
		flex-direction: column;
	    height: auto !important;
	}
	#secondHandList #filter .inputTitle {
		position: relative;
	  line-height: 2.2em;
	  text-align: left;
	  right: auto;
	}
	#secondHandList #filter .colLeft {
	  margin-right: 0px;
	}
    
    #secondHandList #filter .wrapper
    {
        width: 700px;
    }
    
    #secondHandList #filter .colLeft 
    {
        margin-right: 0px;
    }
    .customSelect .arrow {
	  top: auto;
	  bottom: 10px;
	}
   #secondHandList #filter .col 
    {
        width: 325px;
    }
    
    #secondHandList #filter .inputWrapper.mini 
    {
        width: 145px;
    }
    
    #secondHandList #filter .inputTitle.fade
    {
        opacity: 0;
    }
    
    #secondHandList #filter .inputWrapper, 
    #secondHandList #filter .inputWrapper.mini 
    {
        text-align: left;
    }
	form#result-form{
		display: flex;
  		flex-wrap: wrap;
		justify-content: space-between;
    	padding: 10px;
	}
			#secondHandList .col3
			{
				width:120px;
			}
			#secondHandList .col4
			{
				width:137px;
			}
			#secondHandList .col5
			{
				 width: 96px;
			}	
		#secondHandDetails #details
		{
			width:50%;height:100%;
			position:absolute;
			left:50%;top:0;
		}	   
			#secondHandDetails #gallery {
		  width: 50%;
		}
			#secondHandDetails #gallery .thumbs .photo {
		  display: block;
		  float: left;
		  margin-left: 1px;
		  cursor: pointer;
		  width: 68px;
		}
}
@media screen and (max-width: 840px) {
  @media screen and (min-width: 701px) {
    #secondHandList .item {
      height: 100px;
    }
    #secondHandList .col1 {
      width: 166px;
    }
    #secondHandList .item .photo img {
      width: 166px;
    }
  }

  #secondHandList .col2 {
    width: 180px;
  }
  #secondHandList .item .title {
    font-size: 14px;
    line-height: 1.4em;
  }
}
@media screen and (max-width: 700px) {
  #secondHandList .tableHeader {
    text-align: right;
    width: auto;
    padding-right: 10px;
    display: block;
  }
  #secondHandList .tableHeader .col {
    display: inline;
  }
  #secondHandList .tableHeader .col1 {
    padding-left: 10px;
  }
  #secondHandList .tableHeader .col:after {
    content: " / ";
    margin: 0 5px;
  }
  #secondHandList .tableHeader .col1:after {
    content: " : ";
    margin-right: 10px;
  }
  #secondHandList .tableHeader .col:last-child:after {
    content: "";
    margin: 0;
  }

  #secondHandList .item {
    display: block;
    position: relative;
  }
  #secondHandList .item .photo {
    display: block;
    float: left;
    margin-right: 15px;
    border-bottom: none;
	  width: 106px;
    margin-right: 0;
  }
	  #secondHandList .item .titleWrapper {
    margin-left: 116px;
    height: 64px;
  }
  #secondHandList .item .cell {
    border-right: none;
    display: block;
    width: auto;
    margin-left: 264px;
    border-bottom: none;
  }
  #secondHandList .item .title {
    font-size: 16px;
    padding-top: 10px;
    padding-left: 0;
  }
  #secondHandList .item .detail {
    text-align: left;
    line-height: 20px;
  }
  #secondHandList .item .link {
    position: absolute;
    right: 10px;
    bottom: 10px;
    display: block;
    width: auto;
  }
  #secondHandList .item .border {
    display: none;
  }
  #secondHandList .item .km {
    text-align: right;
    margin-top: -20px;

    width: auto;
  }
  #secondHandList .item .km .cellContent {
    padding-right: 10px;
    width: auto;
  }
}


@media screen and (max-width: 520px) {
  #secondHandDetails #gallery {
    width: auto;
    float: none;
  }
}

@media screen and (max-width: 640px) {
  #secondHandDetails #gallery .thumbs .photo {
    width: 49%;
    margin-bottom: 1px;
  }
	.title-single {
		font-size: 32px;
  line-height: 38px;
	}
}

/***/

@media screen and (max-width: 520px) {
  #secondHandDetails #gallery .thumbs .photo {
    width: 24%;
    margin-bottom: 0;
  }
}

/***Details***/

@media screen and (max-width: 960px) {
  #secondHandDetails #details .wrapper {
    padding: 20px 32px 0 32px;
  }
}
@media screen and (max-width: 880px) {
  #secondHandDetails #details .title {
    font-size: 22px;
  }
  #secondHandDetails #details p {
    font-size: 14px;
  }
  #secondHandDetails #details li {
    font-size: 14px;
    line-height: 1.466666666666667em;
  }
  #secondHandDetails #details .contact {
    padding-top: 0;
  }
}
@media screen and (max-width: 780px) {
  #secondHandDetails #details .title {
    font-size: 18px;
  }
  #secondHandDetails #details p {
    font-size: 12px;
  }
  #secondHandDetails #details li {
    font-size: 12px;
  }
  #secondHandDetails #details .contact p {
    font-size: 12px;
    margin-bottom: 6px;
  }
  #secondHandDetails #details .contact .link {
    font-size: 12px;
    line-height: 26px;
  }
}
@media screen and (max-width: 720px) {
  #secondHandDetails #details .title {
    font-size: 14px;
  }
  #secondHandDetails #details p br {
    display: none;
  }
  #secondHandDetails #details p span {
    display: inline;
  }
  #secondHandDetails #details .contact {
    position: relative;
    text-align: left;
  }
  #secondHandDetails #details .contact p {
    display: inline-block;
  }
  #secondHandDetails #details .contact span {
    display: none;
  }
  #secondHandDetails #details .infosWrapper > p {
    margin-bottom: 5px;
  }
}
@media screen and (max-width: 640px) {
  #secondHandDetails #details .title br {
    display: inline;
  }
  #secondHandDetails #details .wrapper {
    padding: 20px 20px 0 20px;
  }
  #secondHandDetails #details li .right {
    left: 120px;
  }
  #secondHandDetails #details li {
    line-height: 1.8em;
  }
}

/***/

@media screen and (max-width: 520px) {
  #secondHandDetails #details {
    position: relative;
    left: 0;
    width: auto;
    height: auto;
    float: none;
  }
  #secondHandDetails #details .wrapper {
    padding: 32px;
  }
  #secondHandDetails #details p span {
    display: none;
  }
  #secondHandDetails #details p br {
    display: inline;
  }
}

/*Caracs*/

@media screen and (max-width: 960px) {
  #secondHandDetails .caracteristics ul {
    padding: 20px 32px;
	 
  }
}
@media screen and (max-width: 820px) {
  #secondHandDetails .caracteristics li {
    font-size: 13px;
  }
}

@media screen and (max-width: 620px) {
  #secondHandDetails .caracteristics {
    padding: 20px 0;
  }
  #secondHandDetails .caracteristics .column,
  #secondHandDetails .caracteristics .column:first-child {
    width: auto;

    float: none;
  }
  #secondHandDetails .caracteristics ul {
    padding: 20px 32px;
  }

	#secondHandList #filter .inputTitle {
  position: relative;
  line-height: 2.2em;
  text-align: left;
  right: auto;
}
}


@media screen and (max-width: 480px) 
{ 
    
    #secondHandList #filter .wrapper
    {
        width: 300px;
        margin: 0 auto;
    }
    
    #secondHandList #filter .inputWrapper.mini.first
    {
        margin-right: 18px;
    }
    
    #secondHandList #filter .colLeft 
    {
        margin-right: 0px;
    }
    
    #secondHandList #filter .col 
    {
        width: 300px;
    }
    
    #secondHandList #filter .inputWrapper.mini 
    {
           width: 46.5%;
    }
    
    
    
    #secondHandList #filter .inputTitle.fade
    {
        opacity: 0;
    }
    
    #secondHandList #filter .inputWrapper, 
    #secondHandList #filter .inputWrapper.mini 
    {
        text-align: left;
    }

  #secondHandList .tableHeader .col {
    font-size: 12px;
  }

  #secondHandList .tableHeader .col span {
    display: none;
  }

  #secondHandList .item {
    height: 100px;
  }
  #secondHandList .col1 {
    width: 166px;
  }
  #secondHandList .item .cell {
    margin-left: 126px;
  }
  #secondHandList .item .photo {
    width: 126px;
  }
  #secondHandList .item .photo img {
    width: 100%;
  }
  #secondHandList .item .title {
    font-size: 12px;
    margin-bottom: 5px;
  }
  #secondHandList .item .title br {
    display: none;
  }
  #secondHandList .item .detail {
    font-size: 12px;
    line-height: 20px;
  }
  #secondHandList .item .km {
    /*width:200px;*/
  }

  #secondHandList .item {
    height: 94px;
    clear: both;
  }
  #secondHandList .item .photo {
    width: 106px;
    margin-right: 0;
  }
  #secondHandList .item .photo img {
    display: block;
  }
  #secondHandList .item .cell {
  }
  #secondHandList .item .titleWrapper {
    margin-left: 116px !important;
    height: 64px;
  }
  #secondHandList .item .cell.col3,
  #secondHandList .item .cell.col4,
  #secondHandList .item .cell.col5,
  #secondHandList .item .link {
    margin-left: 0;
    float: left;
    height: 30px;
    line-height: 30px;
    width: 27%;
    background-color: #e0e0e0;
  }
  #secondHandList .item .cell.col3 .cellContent {
    padding-left: 10px;
  }
  #secondHandList .item .km {
    text-align: left;
    margin-top: 0;
    text-align: left;
  }
  #secondHandList .item .link {
    position: relative;
    right: auto;
    bottom: auto;
    text-align: right;
    width: 19%;
  }
  #secondHandList .item .link .cellContent {
    padding-right: 10px;
    width: auto;
  }
}
