/**
  * 0 - General
  * 1 - Cards
  * 2 - section trouverAgence
  * 3 - section Agences
  * 4 - Autocomplete
  * 5 - Header
 */

/**
 * 1 - General
 */
::selection{
    background-color: #a7b800 !important;
    color: #FFF !important;
}

/**
 * 1 - Cards
 */
.cards .card a {
    background-color: transparent;
    padding: 20px 15px 15px 15px;
    display: block;
    height: 100%;
    transition: all 0.35s ease;
}

.cards .card p.phone{
    font-weight: 700;
}

.card h3 {
    font-size: 22px;
}

.cards .card p.location,
.cards .card p.phone{
    color: #606575;
    transition: color 0.35s ease;
}

/**
 * 2 - section trouverAgence
 */
#trouverAgence{
    position: relative;
    height: 920px;
    display: flex;
    flex-direction: row;
}

#trouverAgence > aside#results-search{
    display: flex;
    flex-direction: column;
    flex: 1;
}

#trouverAgence > section#map-wrapper{
    display: flex;
    flex: 2;
}

#trouverAgence > section#map-wrapper > div#map{
    background-color: lightgrey;
    width: 100%;
    height: 100%;
}

#trouverAgence .cards .card{
    margin: 20px 20px 0 20px;
    padding-bottom:20px;
}

#trouverAgence .cards .card h3{
    padding: 0;
    margin:0;
}

#trouverAgence .cards .card p {
    margin: 0;
}

#trouverAgence .cards .card:not(:last-child){
    border-bottom: 1px solid rgba(0, 0, 0, 0.5);
}

#trouverAgence .search{
    padding: 20px;
    background-color: #FFF;
}

#trouverAgence .btnLocate{
    background-color: #ff6600;
    /*border: 2px solid #ffffff;*/
    width: 200px;
    display: flex;
    color: white;
    margin-left: auto;
    margin-right: auto;
    justify-content: space-around;
    border-radius: 30px;
    box-sizing: border-box;
    cursor: pointer;
    margin-bottom: 15px;
    transition: background-color 0.3s, color 0.3s;
    height: 35px;
    line-height: 25px;
}

#trouverAgence .btnLocate:hover{
    background-color: white;
    color: #ff6600;
    border-color: #ff6600;
    height: 35px;
    line-height: 25px;
    transition: background-color 0.3s, color 0.3s;
}

#trouverAgence .btnLocate .fas{
    margin: auto;
}

#trouverAgence .search input{
    width: 100%;
}

#trouverAgence .searchWindow{
    display: flex;
}

#trouverAgence .searchWindow .fas{
    margin: auto 5px;
    cursor: pointer;
    color: #FFF;
}

#trouverAgence .btnSearch{
    background-color: #ff6600; display: flex;
}

#agency-search-input{
    z-index: 1000;
}

/**
 * 3 - section Agences
 */
#agences .cards{
    display: flex;
    max-width: 1200px;
    margin: 50px auto;
    justify-content: center;
    flex-wrap: wrap;
}

#agences .cards .card{
    width: 300px;
    transition: border 0.3s,
    box-shadow 0.3s;
    box-shadow: 0 2px 10px;
    margin: 20px 30px;
}

#agences .cards .card p{
    margin: 0;
}

#agences .cards .card a:hover p{
    color:#ffffff;
}

#agences h2{
    text-align: center;
}

#agences .cards .card.selected{
    box-shadow: 0 2px 7px;
    border-top: 5px solid #ff6600;
    transition: border 0.3s, box-shadow 0.3s;
}

#agences .cards .card a:hover { background-color: #a7b800;	color:#ffffff; border-left:9px solid green; }

/**
 * 4 - Autocomplete
 */

ul.ui-autocomplete{

}

/**
 * 5 - Archives
 */


::selection{ background-color: #a7b800; color: #FFF; }

#trouverAgence .popup{ z-index: 999; position: absolute; text-align: center; left: 0px; right: 0px; top: 0px; margin-left: auto; margin-right: auto; width: 100%; height: 100%; background-color: rgba(0,0,0,0.2); display: none; }

#trouverAgence .popup p{ display: block; text-align: center; color: #a7b800; margin: auto; background-color: #FFF; padding: 20px; }


.searchContainer .error p{ margin: 20px; }
/**
  * 1 - Cards
  * 2 - section trouverAgence
  * 3 - section Agences
  * 4 - Autocomplete
  * 5 - Archives (codes d´avant - potentiellement obsolète)
 */

/**
 * 1 - Cards
 */
.cards .card a {
    background-color: transparent;
    padding: 20px 15px 15px 15px;
    display: block;
    height: 100%;
    transition: all 0.35s ease;
}

.cards .card p.phone{
    font-weight: 700;
}

.card h3 {
    font-size: 22px;
}

.cards .card p.location,
.cards .card p.phone{
    color: #606575;
    transition: color 0.35s ease;
}

/**
 * 2 - section trouverAgence
 */
#trouverAgence{
    position: relative;
    height: 670px;
    display: flex;
    flex-direction: row;
}

#trouverAgence > aside#results-search{
    display: flex;
    flex-direction: column;
    flex: 1;
}

#trouverAgence > section#map-wrapper{
    display: flex;
    flex: 2;
}

#trouverAgence > section#map-wrapper > div#map{
    background-color: lightgrey;
    width: 100%;
    height: 100%;
}

#trouverAgence .cards{
    padding: 20px;
}

#trouverAgence .cards .card{
    margin: 20px 20px 0 20px;
    padding-bottom:20px;
}

#trouverAgence .cards .card h3{
    padding: 0;
    margin:0;
}

#trouverAgence .cards .card p {
    margin: 0;
}

#trouverAgence .cards .card:not(:last-child){
    border-bottom: 1px solid rgba(0, 0, 0, 0.5);
}

#trouverAgence .search{
    padding: 20px;
    background-color: #FFF;
}

#trouverAgence .btnLocate{
    padding: 5px 10px;
    background-color: #ff6600;
    width: 200px;
    display: flex;
    color: white;
    margin-left: auto;
    margin-right: auto;
    justify-content: space-around;
    border-radius: 30px;
    box-sizing: border-box;
    cursor: pointer;
    margin-bottom: 15px;
    transition: background-color 0.3s, color 0.3s;
}

#trouverAgence .btnLocate:hover{
    background-color: white;
    color: #ff6600;
    border: 2px solid #ff6600;
    padding: 3px 10px;
    transition: background-color 0.3s, color 0.3s;
}

#trouverAgence .btnLocate .fas{
    margin: auto;
}

#trouverAgence .search input{
    width: 100%;
}

#trouverAgence .searchWindow{
    display: flex;
}

#trouverAgence .searchWindow .fas{
    margin: auto 5px;
    cursor: pointer;
    color: #FFF;
}

#trouverAgence .btnSearch{
    background-color: #ff6600; display: flex;
}

/**
 * 3 - section Agences
 */
#agences .cards{
    display: flex;
    max-width: 1200px;
    margin: 50px auto;
    justify-content: center;
    flex-wrap: wrap;
}

#agences .cards .card{
    width: 300px;
    transition: border 0.3s,
    box-shadow 0.3s;
    box-shadow: 0 2px 10px;
    margin: 20px 30px;
}

#agences .cards .card p{
    margin: 0;
}

#agences .cards .card a:hover p{
    color:#ffffff;
}

#agences h2{
    text-align: center;
}

#agences .cards .card.selected{
    box-shadow: 0 2px 7px;
    border-top: 5px solid #ff6600;
    transition: border 0.3s, box-shadow 0.3s;
}

#agences .cards .card a:hover { background-color: #a7b800;	color:#ffffff; border-left:9px solid green; }

/**
 * 4 - Autocomplete
 */

ul.ui-autocomplete{
    box-shadow: 0 2px 7px !important;
    padding: 10px !important;
    max-width: 600px !important;
    list-style: none !important;
    background-color: #ffffff;
    position:absolute;
    cursor:default;
    z-index:4000 !important
}

ul.ui-autocomplete li:hover{
    cursor: pointer !important;
}

/**
 * 5 - Header
 */

.et-header-overlap .header-wrapper{
    position: relative !important;
}

/*
 * (codes d´avant - potentiellement obsolète)
 */

/*#trouverAgence .popup{ z-index: 999; position: absolute; text-align: center; left: 0px; right: 0px; top: 0px; margin-left: auto; margin-right: auto; width: 100%; height: 100%; background-color: rgba(0,0,0,0.2); display: none; }

#trouverAgence .popup p{ display: block; text-align: center; color: #a7b800; margin: auto; background-color: #FFF; padding: 20px; }


.searchContainer .error p{ margin: 20px; }*/
