
.cards{
  margin-right: 0 !important;
  width: 60% !important;
  text-align: left !important;
  background-color: transparent!important;
}


.acf-wrapper,
.ec_filters {
  overflow: hidden !important;
}

.acf-left,
.acf-map {
  float: left !important;
}
.mon-agence{
  cursor:pointer;
}
.ec-list-item li a,
.gm-style-iw-d a:not(.fav-agency) {
  text-decoration: underline !important;
}

.acf-wrapper {
  padding: 0 !important;
  margin: 0 auto !important;
  padding-top: 60px!important;
  padding-bottom: 60px!important;
  display: block !important;
}
.searchblock {
  padding-bottom: 0px!important;
  margin-bottom: -50px!important;
  float: right;
  width: 50%;
}
.searchcol {
  /*width: 60%;*/
}

.acf-map {
  position: absolute !important;
  width: 65% !important;
  height: 60vh !important;
  border: none !important;
  margin: 0 !important;
  
  right:0vw !important;
  margin-top: 10vh !important;
  margin-bottom:1vh !important
}

.acf-map.ec_large_map {
  width: 100% !important;
  float: none !important;
  display: block !important;
}

.acf-left.ec_large_map {
  float: none !important;
  margin-right: 0 !important;
  width: 100% !important;
  text-align: left !important;
}

.acf-left.ec_large_map .ec-list-item {
  float: left !important;
  width: 45% !important;
  margin: 0 2% !important;
}

.acf-left.ec_large_map .ec_list_output {
  margin-top: 30px !important;
}

@media screen and (max-width: 1024px) {
  .acf-left,
  .acf-map {
    width: 100% !important;
    position: relative !important;
    margin-top: 5vh !important;
  }
  .acf-left {
    float: none !important;
    margin: 30px auto 0 !important;
  }
  .ec_list_output {
    display: none !important;
  }
}

.ec_list_output {
  height: 75vh !important;
  -ms-overflow-style: none;  /* Internet Explorer 10+ */
    scrollbar-width: none;  /* Firefox */    
}
.ec_list_output::-webkit-scrollbar { 
  display: none;  /* Safari and Chrome */
}

.ec-list-item {
  position: relative;
  border-bottom: 8px solid #eb5c6c !important;
  margin-bottom: 20px !important;
  padding: 15px !important;
  padding-left: 0 !important;
  padding-bottom: 8px!important;
  transition: 0.2s ease-in-out all !important;
  background-color: #fff;
  width:30vw !important;
  z-index: 20;
  color: #464B5F !important;
  font-family: "arboria"!important;
  font-size: 1em !important;
  font-weight:400!important;
  font-style: normal!important;
}

.ec-list-item h3,
.ec-list-item p,
.ec-list-item ul,
.gm-style-iw-d h3,
.gm-style-iw-d p {
  font-family: "arboria"!important;
  margin: 0 !important;
  
}

.ec-list-item.active,
.ec-list-item:hover {
  /* background: #fff9bf !important; */
}

.ec-list-item h3 {
  font-size: 20px !important;

}
.gm-style{
  font-weight: 400!important;
  font-style : normal!important;
  font-size : 1.4em!important;
}

.gm-style-iw-d ul {
  list-style-type: none;
  padding: 0;
}

.gm-style-iw-d h3 {
  font-size: 1.2em !important;
  color: #8750B6 !important;
}

.gm-style-iw-d a {
  color: #ff0550 !important;
}

.ec-list-item ul {
  list-style-type: none !important;
  padding: 0 !important;
}

#ec_autocomplete {
	padding: 7px 15px 10px !important;
	padding-bottom: 6vw;
	border: 1px solid #35395a !important;
    margin-bottom: 30px !important;
    margin-right: 15px !important;
    font-size: 16px !important;
    border-bottom: 8px solid #874cb8 !important;
    color: #35395a;  
}


@media screen and (max-width: 768px) {
  #ec_autocomplete {
    width: 300px !important;
    margin-left: -150px !important;
    font-size: 16px !important;

  }

}

.ec_filters {
  display: block !important;
  margin-bottom: 20px !important;
  padding: 0 15px !important;
}

.ec_filters li {
  float: left !important;
  margin-right: 6px !important;
  text-align: center !important;
  color: #ff0550 !important;
  border: 1px solid #ff0550 !important;
  cursor: pointer !important;
  padding: 8px 15px !important;
  list-style-type: none !important;
  font-size: 12px !important;
  line-height: 12px !important;
  border-radius: 3px !important;
}

.ec_filters li.active {
  background: #ff0550 !important;
  color: #fff !important;
}

.acf-wrapper a.btn {
  cursor: pointer !important;  
  border: none !important;
  color: #fff !important;
  font-weight: 400 !important;
  font-size: 18px !important;
  line-height: 18px !important;
  text-align: center !important;   
  border-radius: 3px !important;
  padding: 10px 20px !important;
  margin-top: 0 !important;
  background-color:#fff !important;
}

.ui-menu .ui-menu-item-wrapper {
  font-size: 14px !important;
  font-weight: 300 !important;
  color: #000 !important;
  /* border-bottom: 1px solid #e2e2e2 !important; */
}

/*input:-webkit-autofill,
input:-webkit-autofill:focus,
input:-webkit-autofill:hover,
select:-webkit-autofill,
select:-webkit-autofill:focus,
select:-webkit-autofill:hover,
textarea:-webkit-autofill,
textarea:-webkit-autofill:focus,
textarea:-webkit-autofill:hover {
  border: 1px solid green !important;
  -webkit-text-fill-color: green !important;
  -webkit-box-shadow: 0 0 0 1000px #000 inset !important;
  transition: background-color 5000s ease-in-out 0s !important;
}*/

.acf-map img {
  max-width: inherit !important;
}

/********* CSS PERSO ************/


.bloc-agence {
  display: flex !important;   
}

.bloc-logo-agence {
  padding-right: 1vw;
}
.bloc-logo-agence:hover {
  padding-right: 1vw;
}
.acf-map .bloc-logo-agence {
  padding-right: 0;
}


.bloc-logo-agence img {
  width: 100% !important;
}


@media screen and (max-width: 768px) {
  .bloc-logo-agence img {
    display :none;
  }

  }

.acf-map .bloc-logo-agence img {
  width: 50% !important;
}

.bloc-info-agence {
  width: 80% !important;
}

.ec-list-item h3 {
  padding-bottom: 10px;
  color: #8750B6 !important;
}

.ec-list-item em {
  padding-bottom: 5px;
}

.ec-list-item:hover {
  box-shadow: 11px 12px 11px -3px rgba(0,0,0,0.14);
  -webkit-box-shadow: 11px 12px 11px -3px rgba(0,0,0,0.14);
  -moz-box-shadow: 11px 12px 11px -3px rgba(0,0,0,0.14);
}


.fav-agency {
  padding-top: 5px !important;
  border : none !important;  
  padding-right: 10px!important;
  padding-left: 10px!important;
}
.fav-agency:focus {
  outline-style: none;
}

.fav-agency svg{    
    padding-top: 1vw;    
    width: 1.5vw;
    transition: 0.3s ease-in-out all !important;
    color: #35395A !important;
    
}
@media screen and (max-width: 1290px) {
  .fav-agency svg{    
    padding-top: 2vw;    
    width: 3vw;  
  }
}
@media screen and (max-width: 800px) {
  .fav-agency svg{    
    padding-top: 2vw;    
    width: 4vw;  
  }
}


.fav-agency svg:hover{    
    transform: scale(1.2);
    color: #874CB8!important;
    
}

a#acf_search{
  position: relative!important;
  display: inline-block;
  color: var( --e-global-color-312b93c )!important;
  text-decoration: none!important;   
  background-color: #fff!important;
  font-family: var( --e-global-typography-accent-font-family ), Sans-serif !important;
  font-size: var( --e-global-typography-accent-font-size )!important;
  font-weight: var( --e-global-typography-accent-font-weight )!important;
  letter-spacing: var( --e-global-typography-accent-letter-spacing )!important;
}  

a#acf_search::after {   
  margin-top: 6px !important;
  position: absolute;   
  content: ''!important;
  display: block!important;
  width: 80%!important;
  height: 4px!important;
  background: #8750B6!important;
  transition: width .3s!important;     
}

a#acf_search:hover::after {
  width: 0%!important;  
}

.tooltip {
  position:relative;  
}
.tooltip::before {
  content: attr(data-text);
  position:absolute;  
  top:-45px; 
  margin-left: -80%!important;
  margin-right: auto !important;
  width:180px;
  padding:5px;
  border-radius:10px;
  background:var(--e-global-color-primary);
  color: #fff;
  text-align:center;
  display:none; 
  transition-duration: 0.5s;
  font-size: 12px!important;
}

.tooltip:hover::before {
  display:block;
}


.tooltip:hover::after {
  content: " ";
  position: absolute;
  top: -18px; /* At the bottom of the tooltip */
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: var(--e-global-color-primary) transparent transparent transparent;
}
#bloc-agence .fav-agency {
  display: flex !important;  
}

.gm-style-iw .gm-style-iw-c{
	max-width: 400px;
}
.fuzzyResults{
	z-index:8;
}
.cards{
	margin-bottom: 10vw!important;
	overflow-y: scroll;
	overflow-x: hidden;
    /*border: solid thin #00FF00;*/
    z-index: 20;
    position: relative;
	width:42% !important;
}
/* width */
::-webkit-scrollbar {
  width: 5px;
  min-height:30px;
}

/* Track */
::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px grey; 
  border-radius: 10px;
}
 
/* Handle */
::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.6);
  border-radius: 10px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #764896; 
  -webkit-transition: background-color 0.3s;
  transition: background-color 0.3s;
  min-height:30px;
}
.fav-agency:focus{
	border:none !important;
}
.bloc-info-agence-child{
  background-color: #f9f9f9;
  text-align: center;
  font-weight: 500;
  margin-bottom: 1vw;
}


