.entry-content ul.annuaire-tabs {
    margin: 0;
    list-style: none;
    padding-left: 0;
}
.entry-content ul.annuaire-tabs > li {
    display: inline-block;
    border: 1px solid #cccccc;
    border-bottom: none;
    margin-bottom: 0;
    padding: 6px 0 4px;
    position: relative;
    top: 1px;
    cursor: pointer;
    background: rgba(90, 90, 90, 0.1);
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}
.entry-content ul.annuaire-tabs > li:hover {
    padding-top: 14px;
}
.entry-content ul.annuaire-tabs > li a {
    position: relative;
    padding: 5px 12px;
    top: 0;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}
.entry-content ul.annuaire-tabs > li a:hover {
    text-decoration: none;
}
.entry-content ul.annuaire-tabs > li.active {
    background: white;
    padding-top: 17px;
}
.entry-content ul.annuaire-tabs > li:hover a,
.entry-content ul.annuaire-tabs > li.active a {
    top: -3px;
}
.entry-content ul.annuaire-tabs > li:first-child.active {
    border-left: 1px solid #cccccc;
}
.entry-content ul.annuaire-tabs > li:last-child.active {
    border-right: 1px solid #cccccc;
}
ul.annuaire-tabs li::before {
    content: none!important;
}

.annuaire-wrapper {
    border: 1px solid #cccccc;
    padding: 20px;
}
.annuaire-wrapper p {
    text-align: left;
}
.annuaire-wrapper.loading {
    position: relative;
}
.annuaire-wrapper.loading:before {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .5);
    z-index: 100;
}
.annuaire-wrapper.loading:after {
    content: url(../img/spin.svg);
    display: block;
    position: absolute;
    width: 50px;
    height: 50px;
    left: calc(50% - 25px);
    top: calc(50% - 25px);
    z-index: 101;
}

.annuaire-wrapper .search-form input {
    min-height: 40px;
}
.annuaire-wrapper .search-form .btn {
    border-color: transparent;
    margin-top: 0;
    min-height: 40px;
}

.annuaire-wrapper .items {
    display: flex;
    flex-flow: row wrap;
}

.annuaire-wrapper .item {
    display: table;
    /*float: left;
    width: calc(33.33% - 40px);*/
    margin: 10px;
    background: #f2f2f2;
    padding: 10px;
    width: 100%;
    flex-basis: calc(33.33% - 20px);
    max-width: calc(33.33% - 20px);
}
.annuaire-wrapper .item.par-dept {
    /*width: calc(50% - 20px);*/
    margin: 20px 10px 10px;
    flex-basis: calc(50% - 20px);
    max-width: calc(50% - 20px);
}
.annuaire-wrapper #ajax-personnes,
.annuaire-wrapper #ajax-structures {
    display: flex;
    flex-flow: row wrap;
}
.annuaire-wrapper .item.par-geoloc {
    /*width: 60%;*/
    float: none;
    position: relative;
    padding-left: 15px;
    margin-left: 10px;
    margin-top: 20px;
    /*max-width: 60%;*/
    font-size: 12px;
    flex-basis: calc(50% - 20px);
    max-width: calc(50% - 20px);
}

.annuaire-wrapper .autosuggest-wrapper {
    position: relative;
}
.annuaire-wrapper .autosuggest-wrapper #autosuggest {
    min-height: 40px;
}

.annuaire-wrapper .item.par-geoloc.personne:after {
    background-image: url(../img/marker-red.svg);
}
.annuaire-wrapper .item.par-geoloc.structure:after {
    background-image: url(../img/marker-green.svg);
}
.annuaire-wrapper .autosuggest-wrapper:after {
    background-image: url(../img/marker-black.svg);
}
.annuaire-wrapper .item.par-geoloc.personne.highlight:after,
.annuaire-wrapper .item.par-geoloc.structure.highlight:after,
.annuaire-wrapper .item.par-geoloc.personne:hover:after,
.annuaire-wrapper .item.par-geoloc.structure:hover:after{
    background-image: url(../img/marker-selected.svg);
    height: 66px;
    width: 66px;
    top: -26px;
    left: -32px;
}
.annuaire-wrapper .autosuggest-wrapper:after,
.annuaire-wrapper .item.par-geoloc.personne:after,
.annuaire-wrapper .item.par-geoloc.structure:after {
    content: '';
    display: block;
    position: absolute;
    top: -18px;
    left: -24px;
    height: 50px;
    width: 50px;
    -webkit-transition: all 0.2s;
    -moz-transition: all 0.2s;
    -ms-transition: all 0.2s;
    -o-transition: all 0.2s;
    transition: all 0.2s;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
.annuaire-wrapper .autosuggest-wrapper:before,
.annuaire-wrapper .item.par-geoloc.personne:before,
.annuaire-wrapper .item.par-geoloc.structure:before {
    content: '';
    display: block;
    position: absolute;
    top: -8px;
    left: -11px;
    height: 20px;
    width: 20px;
    background: white;
    border-radius: 20px;
}

#content .annuaire-wrapper .item p {
    margin-bottom: 10px;
}
#content .annuaire-wrapper .item .identity {
    font-weight: bold;
    margin-top: 10px;
    margin-bottom: 5px;
    color: #4d3a4b;
    font-size: 16px;
}
.annuaire-wrapper .item .main-address,
.annuaire-wrapper .item .contact-infos {
    vertical-align: top;
    text-align: left;
}
.annuaire-wrapper .item .contact-infos {
    word-break: break-all;
    clear: right;
    color: #f5a800;
}
.annuaire-wrapper .item .foreign-languages {
    display: inline-block;
    width: 100%;
}
.annuaire-wrapper .item .other-addresses {
    clear: both;
    border-top: #fff 1px solid;
    padding-top: 10px;
}
.annuaire-wrapper h3 {
    margin-top: 25px;
    margin-bottom: 6px;
}
.annuaire-wrapper h4 {
    margin-top: 30px;
    margin-bottom: -12px;
	text-transform: capitalize;
}

.annuaire-wrapper ul.list-depts {
    margin-left: 0;
    padding-left: 0;
    -moz-column-count: 3;
    -moz-column-gap: 20px;
    -webkit-column-count: 3;
    -webkit-column-gap: 20px;
    column-count: 3;
    column-gap: 20px;
    list-style: none;
}
.annuaire-wrapper ul.list-depts li {
    margin: 3px 0;
}
.annuaire-wrapper ul.list-depts li a,
.annuaire-wrapper ul.list-depts li a span {
    transition: all .15s;
}
.annuaire-wrapper ul.list-depts li.hover a,
.annuaire-wrapper ul.list-depts li.hover a span,
.annuaire-wrapper ul.list-depts li:hover a,
.annuaire-wrapper ul.list-depts li:hover a span {
    color: #695367;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
}
.annuaire-wrapper ul.list-depts li .id {
    margin-right: 5px;
}

.annuaire-wrapper #map {
    min-height: 300px;
}

.annuaire-wrapper .ajax-title {
    display: none;
}
.annuaire-wrapper .ajax-error {
    color: red;
    margin-top: 10px;
    display: none;
}
.annuaire-wrapper .ajax-error:before {
    content: '\f071';
    font-family: FontAwesome;
    padding-right: 5px;
}

@media screen and (max-width: 1199px) {
    .annuaire-wrapper .item .main-address,
    .annuaire-wrapper .item .contact-infos {
        width: 100%;
        padding-left: 0;
    }
}

@media screen and (max-width: 991px) {
    .annuaire-wrapper .item {
        flex-basis: calc(50% - 20px);
        max-width: calc(50% - 20px);
    }
}

@media screen and (max-width: 767px) {
    .entry-content ul.annuaire-tabs > li {
        width: 100%;
        margin-top: 0;
        text-align: center;
    }
    .entry-content ul.annuaire-tabs > li.active {
        border-right: 1px solid #cccccc;
        border-left: 1px solid #cccccc;
    }
    .annuaire-wrapper .item,
    .annuaire-wrapper .item.par-geoloc,
    .annuaire-wrapper .item.par-dept {
        margin-left: 0;
        width: 100%;
    }
    .annuaire-wrapper ul.list-depts {
        column-count: 1;
    }
    .annuaire-wrapper .item,
    .annuaire-wrapper .item.par-dept,
    .annuaire-wrapper .item.par-geoloc {
        flex-basis: 100%;
        max-width: 100%;
    }

    .form-group.search-form .input-group {
        width: 100%;
        text-align: center;
    }
    .form-group.search-form input,
    .form-group.search-form .input-group-btn {
        float: none;
        display: block;
        width: 100%;
    }
    .form-group.search-form .input-group-btn button {
        margin-top: 12px;
        border-radius: 5px;
    }
}

.working-place-title {
	color: #4d3a4b;
	text-transform: uppercase;
	font-weight: 400;
}
.working-place {
	background: #fafafa;
	border: 1px solid #fff;
    padding: 3px 6px;
}
i.fa.fa-flag {
    color: #4d3a4b;
}

/** Specific style for map issue on -md-screen **/
@media screen and (min-width: 992px) and (max-width: 1200px) {
    .annuaire-wrapper {
        min-height: 340px;
    }
    .annuaire-wrapper .map-container {
        position: absolute;
        width: calc(41.66666667% - 20px);
    }
}