/* @override 
	http://www.atc.immo/annonces-fonds-commerce-savoie/annonces.css
	http://atc.immo/annonces-fonds-commerce-savoie/annonces.css
*/




/*article#pageAnnonces {
	min-height: 850px;
}

#listeAnnonces {
	display: block;
	float: left;
	width: 100%;
	margin-left: 190px;
	padding: 0;
}

#listeSelection {
	width: 950px;
	margin-left: -13px;
}

.h1-annonce {
	width: 900px;
	font-size: 36px;
	line-height: 36px;
}*/

/* @group recherche */
/*
aside#recherche {
	font-family: 'Open Sans Condensed', serif;
	position: absolute;
	left: 0;
	width: 205px;
	margin-left: 40px;
}

aside#recherche form {
}

#recherche h5 {
	font-weight: 700;
	font-size: 18px;
	line-height: 20px;
	text-align: center;
	margin-top: 10px;
	margin-bottom: 0;
}

#recherche h6, #recherche form {
	margin: 7px 0 0;
	font-size: 14px;
}

#recherche ul {
	margin: 10px 0;
}

#recherche li {
	list-style: none;
	padding: 0;
	background: no-repeat;
	font-size: 14px;
	line-height: 15px;
}*/
/* @end */

/* @group annonces */
/*
div.boiteAnnonce {
	display: block;
	position: relative;
	float: left;
	width: 200px;
	height: 250px;
	margin: 20px;
}

.boiteAnnonce a.suppSelection {
	position: absolute;
	z-index: 3;
	-moz-border-radius: 16px;
	-webkit-border-radius: 16px;
	border-radius: 16px;
	width: 16px;
	height: 16px;
	background-color: black;
	text-align: center;
	color: white;
	font: 12px/16px Arial, sans-serif;
	border: 2px solid white;
	-moz-box-shadow: 1px 1px 5px #000000;
	-webkit-box-shadow: 1px 1px 5px #000000;
	box-shadow: 1px 1px 5px #000000;
}

.boiteAnnonce a.suppSelection:hover {
	background-color: #d40000;
}

div.annonce {
	display: block;
	position: relative;
	float: left;
	width: 200px;
	height: 250px;
	margin: 10px;
	padding: 5px 10px 10px;
	border: 1px solid #ddd;
	font-weight: 300;
	font-family: 'Open Sans Condensed', serif;
	background-color: #fcfcfc;
	z-index: 1;
}

#listeSelection a div.annonce {
	margin: 5px;
}

div.annonce.gauche, div.boiteAnnonce.gauche {
	margin-left: 0;
}

div.annonce.droite, div.boiteAnnonce.droite {
	margin-right: 0;
}

div.annonce p.numAnnonce {
	position: absolute;
	top: -1px;
	right: -1px;
	padding: 0;
	margin: 0;
	color: white;
	font-size: 10px;
	width: 25px;
	background-color: #999;
	text-align: center;
	font-weight: bold;
}

div.annonce img {
	position: absolute;
	bottom: 10px;
	left: 10px;
	width: 200px;
	height: 120px;
	z-index: 2;
}

div.annonce h2 {
	color: #000;	
	font-size: 14px;
	margin-top: 0;
	margin-bottom: 0;
}

div.annonce h3 {
	margin-top: 0;
	font: 700 18px/20px 'Open Sans Condensed', serif;
	color: #a52d07;
	margin-bottom: 0;
}

a:hover div.annonce h3 {
	color: red;
}

a span.prix {
	color: #666;
	position: absolute;
	bottom: 120px;
	background-color: white;
	font-weight: 700;
	border: 1px solid #999;
	font-size: 12px;
	width: 75px;
	text-align: center;
	z-index: 3;
	left: 75px;
}

.bandeauPhoto {
	color: #ffffff;
	position: absolute;
	bottom: 2px;
	background-color: #f5bb0c;
	font-weight: 700;
	border: 1px solid #ffffff;
	font-size: 12px;
	width: 130px;
	text-align: center;
	z-index: 3;
	left: 45px;
	-moz-box-shadow: 0 0 8px;
	-webkit-box-shadow: 0 0 8px;
	box-shadow: 0 0 8px;
	text-shadow: 0 0 2px #000000;
}


div.description {
	top: 40px;
	z-index: 1;
	width: 200px;
	height: 88px;
	color: #666;
	font-size: 13px;
	text-align: justify;
	margin-top: -10px;
	overflow: hidden;
}

div.description p {
	line-height: 16px;
	color: #000;
}

div.cache {
	position: absolute;
	display: block;
	width: 220px;
	height: 40px;
	top: 106px;
	left: 0;
	background-image: url(im/degBlanc.png);
}

a #btAfficher {
	position: absolute;
	top: 180px;
	left: 60px;
	width: 100px;
	height: 30px;
	z-index: 1;
	-moz-box-shadow: 0 0 8px 4px #ffffff;
	-webkit-box-shadow: 0 0 8px 4px #ffffff;
	box-shadow: 0 0 8px 4px #ffffff;
}

a:hover #btAfficher {
	z-index: 5;
}*/

/* hover */
/*
a:hover div.annonce {
	border-color: #a52d07;
	background-color: #fff;
	;
	-moz-box-shadow: 4px 4px 8px #ccc;
	-webkit-box-shadow: 4px 4px 8px #ccc;
	box-shadow: 4px 4px 8px #ccc;
}

a:hover div.annonce .numAnnonce {
	top: 0;
	right: 0;
}
*/
/* @end */
/*
.barre-liens {
	background-color: #eee;
	border: 2px solid #ccc;
	padding: 5px 10px 4px;
	line-height: 28px;
	text-align: center;
}

.barre-liens legend, .barre-liens a {
	margin: 0;
	font: 16px 'Open Sans Condensed', serif;
}

.barre-liens legend {
	font-weight: 700;
	border: 2px solid #cbcccb;
	background-color: white;
	padding-right: 8px;
	padding-left: 8px;
	color: #666;
}

.barre-liens a {
	border: 1px solid #4d98df;
	padding: 0 4px;
	background-color: #ebedf0;
}
.barre-liens a:hover {
	background-color: #fff;
}
.barre-liens a.is-on {
	background-color: white;
	border-color: #a42e07;
	color: #a42e07;
}
*/
/*2025*/

body {
    margin: 0px;
}

#listeAnnonces {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  /*padding: 30px;*/
}

.annonce {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease;
}

.annonce:hover {
  transform: translateY(-5px);
}

.annonce img {
  width: 100%;
  height: 350px;
  object-fit: cover;
}

.annonce h2,
.annonce h3,
.annonce .prix {
  margin: 10px 20px;
}

.annonce h2 {
  font-size: 1rem;
  color: #666;
}

.annonce h3 {
  font-size: 1.2rem;
  font-weight: bold;
  color: #333;
}

.annonce .prix {
  font-size: 1.1rem;
  color: #BEAF87;
  font-weight: bold;
}

.annonce .description {
  margin: 0 20px 10px;
  color: #555;
  font-size: 0.95rem;
	top: 40px;
	z-index: 1;
	width: 200px;
	height: 88px;
	color: #666;
	font-size: 13px;
	text-align: justify;
	margin-top: -10px;
	overflow: hidden;
}

.annonce .bandeauPhoto {
  background: #d32f2f;
  color: white;
  font-size: 0.8rem;
  padding: 5px 10px;
  position: absolute;
  top: 15px;
  left: 15px;
  border-radius: 4px;
  visibility: hidden;	
}

.bandeauPhoto .bandeauPhoto:hover {
  visibility: visible;	
}

 :root{
      --gold:#c1ae86;
      --ink:#222;
      --panel-bg: #00000063; /* overlay noir translucide */
}

.annonce button {
  margin: 15px 20px 20px;
  padding: 10px;
  background: #A19276;
  color: white;
  border: none;
  border-radius: 4px;
  font-weight: bold;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease, color .25s ease;
  font-family: 'Spartan';
}
    .annonce button::after{
      content:"";
      position:absolute;
      top:0; left:-150%;
      width:50%; height:100%;
      background: linear-gradient(120deg, transparent 0, rgba(255,255,255,.35) 50%, transparent 100%);
      transform: skewX(-25deg);
      transition: left .6s ease;
    }
   .annonce button:hover{
      transform: translateY(-2px);
      box-shadow: 0 10px 30px rgba(0,0,0,.25);
      background: var(--gold);
      color:#111;
    }

.contenu-annonces {
  display: flex;
  align-items: flex-start;
  gap: 30px;
  padding: 20px 200px;
  /*flex-wrap: wrap;*/
}

/* Sidebar */
#recherche {
  flex: 1 1 250px;
  background: #f5f5f5;
  padding: 20px 200px;
  /*border-radius: 8px;
  box-shadow: 0 1px 6px rgba(0,0,0,0.08);*/
}

@media (max-width: 768px) {

	.contenu-annonces {
  display: flex;
  align-items: flex-start;
  gap: 30px;
  padding: 20px;

}

/* Sidebar */
#recherche {
  flex: 1 1 250px;
  background: #f5f5f5;
  padding: 20px;

}
	
}	

/* Liste des annonces */
/*#listeAnnonces {
  flex: 3 1 1900px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(600px, 1fr));
  gap: 20px;
}*/

#listeAnnonces {
    flex: 3 1 1496px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(430px, 1fr));
    gap: 20px;
}

.h1-annonce {
	font-size: 36px;
	text-align:center;
}

h3{
text-align:center;	
}

h3.title, .prix, .type{
text-align:center;	
}

h3.title
{
    font-size: 20px;
    min-height: 75px;
}

h5 {
    font-size: 20px;
}

h6 {
    font-size: 16px;
	margin: 10px 0 10px 0;
}

li {
    font-size: 15px;
}

button.medium.green {
    /*margin: 15px 20px 20px;*/
    padding: 10px 50px;
    background: #A19276;
    color: white;
    border: none;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
}

.btn_afficher{
background-color: #A19276;
}

/* Responsive mobile */
@media (max-width: 768px) {
  .contenu-annonces {
    flex-direction: column;
  }

  #recherche, #listeAnnonces {
    width: 100%;
  }
}


@media (max-width: 600px) {
  .annonce img {
    height: 180px;
  }
}


/**/


.barre-recherche {
    display: flex;
    gap: 10px;
    align-items: stretch;
    flex-wrap: wrap; /* Permet d’adapter si l’écran est petit */
    margin-bottom: 20px;
}

.custom-select {
    position: relative;
    min-width: 200px;
    flex-grow: 1;
}

.select-display {
    padding: 10px;
    border: 1px solid #ccc;
    background: white;
    cursor: pointer;
    font-style: italic;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.select-options {
    display: none;
    position: absolute;
    background: white;
    border: 1px solid #ccc;
    max-height: 200px;
    overflow-y: auto;
    z-index: 1000;
    width: 100%;
}

.select-options label {
    display: block;
    padding: 5px 10px;
}

.custom-select.active .select-options {
    display: block;
}

.bouton-recherche {
    padding: 10px 20px;
    background-color: #2b2b28;
    color: white;
    border: none;
    cursor: pointer;
    white-space: nowrap;
}


/**/

.custom-select {
    position: relative;
    width: 250px;
}

.select-display {
    padding: 10px;
    border: 1px solid #ccc;
    background: white;
    cursor: pointer;
    font-style: italic;
}

.select-options {
    display: none;
    position: absolute;
    background: white;
    border: 1px solid #ccc;
    max-height: 200px;
    overflow-y: auto;
    z-index: 1000;
    width: 100%;
}

.select-options label {
    display: block;
    padding: 5px 10px;
}

.custom-select.active .select-options {
    display: block;
}

.social-likes.social-likes_vertical {
    display: none;
}

