@font-face {
    font-family: "Futura_medium";
    src: url('../fonts/FuturaStd-Medium.otf');
}

@font-face {
    font-family: "Humger";
    src: url('../fonts/Humger.ttf');
}

@font-face {
    font-family: "Roboto_light";
    src: url('../fonts/Roboto-Medium.ttf');
}

input[type=text]::-ms-clear { display: none; }

::-ms-clear { display: none; }

.grid {
    width: 100%;
    margin: auto;
    background: rgba(0,0,0,0.8);
}

body.modal-open {
    position: relative;
}

.container-full {
    margin: 50px;
}

/* clearfix */
.grid:after {
    content: '';
    display: block;
    clear: both;
}

/* ---- grid-item ---- */

.grid-item {
    width: 20%;
    height: 250px;
    float: left;
    padding : 8px;
}

.grid-image {
    width: 100%;
    height: 100%;
    border-radius: 5px;
    background-position: center;
    background-size: cover;
}

.lazy{
    position: relative;
    background-position:center;
    -moz-transition: all 0.5s cubic-bezier(.25,.8,.25,1);
    -ms-transition: all 0.5s cubic-bezier(.25,.8,.25,1);
    -webkit-transition: all 0.5s cubic-bezier(.25,.8,.25,1);
    -o-transition: all 0.5s cubic-bezier(.25,.8,.25,1);
    transition: all 0.5s cubic-bezier(.25,.8,.25,1);
}

.lazy:hover{
    box-shadow: 0 1px 28px rgb(255, 255, 255), 0 2px 28px rgb(255, 255, 255);
    transform: scale(1.05);
}

.grid-item--height1 { height: 300px; }
.grid-item--height2 { height: 350px; }
.grid-item--height3 { height: 400px; }
.grid-item--height4 { height: 600px; }




a{
    text-decoration: none;
}

#markets > a.link_all_accounts {
    box-shadow: 2px 3px 9px rgba(0,0,0,0.6);
    transition: all 100ms ease-in-out;
}

#markets > a.link_all_accounts:hover {
    box-shadow: 1px 1px 10px #6e2e94 inset;
    background: #4d1f69;
}



.lazy .texte_hide{
    display: block;
    float: left;
    height: 100%;
    width: 100%;
    z-index: 3;
    opacity: 0;
    background: rgba(1,1,1,0.65);
    padding: 15px 0 0 27px;
    position: relative;
    text-decoration: none;
    transition: all 400ms ease-out;
    color: #fff;
    font-size: 18px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    overflow: hidden;
    text-overflow: ellipsis;

}

.grid-item:hover .texte_hide{
    opacity: 1;
    /*transform: trans
    lateY(0px);*/
}

.grid-item:hover .company_name{
    opacity: 0;
    /*transform: translateY(0px);*/
}

/*.grid-item .lazy{*/
/*transition: all 400ms ease-out;*/
/*}*/

.grid-item:hover .lazy{
    /*transform: scale(1.05);*/
}

/*.lazy{
    transition: all 1.2s ease;
}

a>.lazy:hover{
    box-shadow: 0 0 0 5px #fff, 0 0 0 250px rgba(0,0,0,0.7) inset;
    box-shadow:   -1px 2px 700px 0  rgba(0,0,0,0.7) inset;
}*/

.company_name {
    position: absolute;
    font-size: 1.1em;
    font-weight: 600;
    background: rgba(106, 27, 154, 0.65);
    border-radius: 50px;
    color: #FFF;
    bottom: 0;
    left: 0;
    padding: 10px 16px 10px 16px;
    margin: 10px;
    text-transform: uppercase;
    text-shadow: 0 2px 5px rgba(0, 0, 0, .5);
}


.titre_desc{
    font-weight:bold;
    font-size:larger;
    color:#a381ba;
    border-bottom: 1px solid transparent;
    transition: all ease-in-out 300ms;
    padding-right: 5px;
}

.titre_desc:hover{
    border-color: #a381ba;
}

.desc{
    font-size : 14px;
    display: block;
    margin-bottom: 25px;
}

.desc > .adresse{
    font-size: 0.9em;
    font-style: italic;
    color: #bebebe;
    display: block;
    margin: -1px 0 10px 10px;
}


#markets h2{
    background: #bebebe;
    height: 105px;
    text-align: center;
    padding-top: 30px;
    display: block;
    color: #fff;
    font-size: 2.5em;
    font-family: Futura_medium, Arial;
}

#markets{
    background: #bebebe;
    padding-bottom: 10px;
}

.sugg_recherche{
    width: 100%;
    text-align: center;
    margin: 30px 0 50px 0;

}

.sugg_recherche > span{
    display: block;
    color: #bebebe;
    font-size: 1.6em;
    margin-bottom: 8px;
    font-family: Futura_medium, Arial;
}

.sugg_recherche > a{
    height: 35px;
    color: #fff;
    width: 110px;
    background: #bebebe;
    padding-top: 7px;
    border-radius: 7px;
    margin: auto;
    font-weight: bold;
    display: inline-block;
    margin-right: 4px;
    margin-bottom: 7px;
    -webkit-transition: all 100ms ease-in-out;
    -moz-transition: all 100ms ease-in-out;
    -ms-transition: all 100ms ease-in-out;
    -o-transition: all 100ms ease-in-out;
    transition: all 100ms ease-in-out;
}

.sugg_recherche > a:hover{
    background: #585858;
}


.titre_grid{
    text-align: center;
    width: 100%;
    background: #6a1b9a;
    padding: 15px;
}

.moteur_links_div{
    display: inline-block;
}

.moteur_links_div > a{
    color: #333;
}

.segment {
    padding-top: 35px;
    width: 65px;
    height: 65px;
    -webkit-transition: all 100ms ease-in-out;
    -moz-transition: all 100ms ease-in-out;
    -ms-transition: all 100ms ease-in-out;
    -o-transition: all 100ms ease-in-out;
    transition: all 100ms ease-in-out;
}
.segment.disabled {
    background: #333;
    color: #909090;
}
.segment:not(.disabled):hover {
    background: #bebebe;
    color: #fff;
}

.selectTree.disabled{
    background: #e2e2e2;
}

.selectTree.disabled > span{
    color: #fff;
}

.modalFilters .plat > .selectFilterPicto.selectTree.disabled .after{

}

.segment i {
    top: 9px;
}

.searchInputDiv {
    margin: 21px auto 5px;
}

.searchInputDiv > input {
    padding: 8px 18px 8px 8px;
    width: 275px;
    color: #6a1b91;
    border: 2px solid #bc83d8;
    background: white;
    outline: none;
    border-radius: 5px;
    text-align: left;
    -webkit-transition: all 200ms ease-in-out;
    -moz-transition: all 200ms ease-in-out;
    -ms-transition: all 200ms ease-in-out;
    -o-transition: all 200ms ease-in-out;
    transition: all 200ms ease-in-out;
}

.searchInputDiv > input:focus {
    font-weight: 700;
    border: 2px solid #cc00cc;
}

.selectTree:not(.disabled):hover {
    background: #bebebe;
}

.Selected{
    background: #bebebe;
    color: #fff;
}

.selectTree:active{
    color: #fff;
}

.searchInputDiv i {
    position: absolute;
    top: 5px;
    right: 5px;
    cursor: pointer;
}

#tous_les_pros{
    display: block;
    color: #fff;
    font-size: 2.5em;
    padding-top: 15px;
    font-family: Futura_medium, Arial;
}

#moteur_links{
    margin-top: 25px;
}

#alphabet{
    font-size: 16px;
    color: #bebebe;
}

.pastille{
    border-radius: 50px;
    width: 45px;
    text-align: center;
    height: 45px;
    font-size: 15px;
    display: inline-block;
    margin-right: 10px;
    float: left;
    -webkit-border-radius: 50px;
    -moz-border-radius: 50px;
}

.pastilles_2e_ligne{
    display: block;
}

.grid_avis{
    background: #6a1b9a;
    padding-top: 11px;
    position: relative;
}

.on_ten{
    font-size: 0.75em;
}


.picto_etoiles{
    background: #FFF;
    padding-left: 4px;
    position: relative;
}

.fa-star{
    color: #6a1b9a;
}

.stars_number{
    position: absolute;
    background: #cc00cc;
    width: 20px;
    height: 20px;
    top: -5px;
    right: -5px;
    -webkit-border-radius: 50px;
    -moz-border-radius: 50px;
    border-radius: 50px;
    font-size: 12px;
    padding-top: 2px;
}

.grid_bz{
    background: #cc00cc;
    font-size: 15px;
    padding-top: 11px;
}

.grid_op{
    background: #6a1b9a;
    width: 45px;
    height: 45px;
    padding-top: 8px;
    font-size: 10px;
    position: relative;
}

.grid_op::before{
    border: 1px solid #FFF;
    border-radius: 50%;
    content: "";
    display: block;
    height: 39px;
    left: 3px;
    position: absolute;
    top: 3px;
    width: 39px;
}

.grid_fid{
    padding-top: 15px;
}


/** DESIGN ETOILES BESTS **/

.picto_etoiles .stars i {
    margin-left: -5px;
    font-size: 1em;
}
.picto_etoiles .stars.withBlock {
    margin-top: 0;
}
.picto_etoiles .stars.withBlock > span {
    display: block;
    margin-top: -8px;
    margin-bottom: -5px;
}
.picto_etoiles .stars {
    display: block;
    text-align: center;
    position: relative;
    margin: -2px auto 1px;
    font-size: 0.85em;
    border-radius: 50%;
    padding-top: 10px;
    padding-left: 2px;
}
.picto_etoiles .stars.one_row {
    padding-top: 16px;
    padding-left: 2px;
}


.picto_etoiles .stars i.picto_1 {
    color: rgba(106, 27, 154, 0.2);
}
.picto_etoiles .stars i.picto_2 {
    color: rgba(106, 27, 154, 0.4);
}
.picto_etoiles .stars i.picto_3 {
    color: rgba(106, 27, 154, 0.6);
}
.picto_etoiles .stars i.picto_4 {
    color: rgba(106, 27, 154, 0.8);
}
.picto_etoiles .stars i.picto_5 {
    color: rgba(106, 27, 154, 1);
}

.company_address{
    display: none;
}



.moteur_links_suggestion{
    background: #6a1b9a none repeat scroll 0 0;
    color: #FFF;
    height: 110px;
    top: 442px;
    position: absolute;
    width: 100%;
    text-align: center;
    padding-top: 15px;
}

#links {
    width: 555px;
    margin: 75px auto 75px;
    padding: 23px 0;
    display: block;
    font-size: 1.2em;
    line-height: 1.8em;
}

#links h2 {
    font-family: Futura_medium, Verdana, Arial;
    font-size: 30px;
}

.moteur_links_suggestion > h1{
    font-family: Roboto_light, Verdana, Arial;
}

#links > a:hover{
    text-decoration: underline;
}


@media screen and (max-width: 1480px){
    .grid-item {
        width: 25%;
    }
    .container-full {
        margin: 20px;
    }
}

@media (max-width: 1200px){
    .segment {
        font-size: 0.75em;
    }
}


@media screen and (max-width: 1250px){
    .grid-item {
        width: 33%;
    }
    .container-full {
        margin: 20px;
    }

    #markets h2 {
        padding-top: 33px;
        font-size: 2.3em;
    }

    #tous_les_pros {
        font-size: 2.3em;
        padding-bottom: 5px;
        padding-top: 18px;
    }

    #markets > div {
        height: 130px;
    }
}

@media screen and (max-width: 1200px){
    .moteur_links_suggestion {
        top: 330px;
    }

    .moteur_links_suggestion > h1{
        font-size: 34px;
    }
}

@media (max-width: 1000px){
    #city {
        font-size: 2.8em;
    }
}

@media screen and (max-width: 968px){
    .grid-item {
        width: 50%;
    }
    .container-full {
        margin: 10px;
    }

    #markets h2 {
        padding-top: 36px;
        font-size: 2.1em;
    }

    #tous_les_pros {
        font-size: 2.1em;
        padding-bottom: 9px;
    }

    #markets > div {
        height: 110px;
    }

    .moteur_links_suggestion > h1{
        font-size: 31px;
    }

}


@media screen and (max-width: 905px){
    .moteur_links_suggestion {
        top: 330px;
    }

    .moteur_links_suggestion > h1{
        font-size: 28px;
    }

    #links {
        margin: 110px auto 75px;
        font-size: 1.1em;
    }

    #links h2{
        font-size: 25px;
    }

    #city {
        font-size: 2.6em;
    }
}


@media screen and (max-width: 800px){
    .moteur_links_suggestion {
        height: 100px;
        top: 225px;
    }

    .moteur_links_suggestion > h1{
        font-size: 22px;
    }

    #links {
        width: 80%;
    }

    #links h2{
        font-size: 25px;
    }
}



@media screen and (max-width: 640px){
    .grid-item {
        width: 100%;
        height: 250px;
    }
    .container-full {
        margin: 20px;
    }
    .grid-item--height2 { height: 250px; }
    .grid-item--height3 { height: 250px; }
    .grid-item--height4 { height: 250px; }

    #markets h2 {
        padding-top: 37px;
        font-size: 1.9em;
    }

    #tous_les_pros {
        font-size: 1.9em;
        padding-bottom: 10px;
        padding-top: 3px;
    }

    #moteur_links {
        margin-top: 15px;
    }

    .sugg_recherche{
        margin-bottom: 0px;
    }

    .sugg_recherche > span {
        font-size: 1.4em;
    }

    .sugg_recherche > a {
        width: 100px;
    }

    #markets > div {
        height: 105px;
    }

    .lazy:hover{
        box-shadow: none;
        transform: none;
    }

    #markets > a.link_all_accounts:hover {
        box-shadow: none;
        background: none;
    }

    .grid-item:hover .company_name{
        opacity: 1;
    }


    .company_name {
        position: absolute;
        font-size: 13px;
        font-weight: 600;
        background: rgba(106, 27, 154, 0.65);
        border-radius: 50px;
        color: #FFF;
        bottom: 0;
        left: 0;
        padding: 7px 5px 10px 20px;
        margin: 10px;
        text-transform: uppercase;
        text-shadow: 0 2px 5px rgba(0, 0, 0, .5);
        width: 60%;
        height: 22%;
        margin-bottom: 74px;
    }

    .company_name.noMargin {
        margin-bottom: 15px;
    }

    .company_address{
        display: block;
        text-transform: none;
        font-weight: 500;
        font-size: 0.8em;
        text-shadow: none;
        font-style: italic;
        color: rgba(255,255,255,0.7);
        padding-top: 5px;
    }

    .lazy .texte_hide{
        opacity: 1;
        background: none;
        margin-top: 135px;
    }

    .titre_desc, .desc{
        display: none;
    }

    .pastille{
        width: 45px;
        height: 45px;
    }

    .grid_avis{
        font-size: 14px;
    }

    .grid_bz{
        font-size: 13px;
        padding-top: 13px;
    }

    .grid_op{
        font-size: 10px;
    }

    .grid_op::before{
        height: 41px;
        left: 2px;
        top: 2px;
        width: 41px;
    }

    .grid_fid {
        padding-top: 16px;
    }

    .texte_hide{
        padding-right: 14px;
    }


    .pastilles_1e_ligne{
        display: inline;
    }

    .pastilles_2e_ligne{
        display: inline-block;
    }

    .display640{
        display: none;
    }



    /* PAGE SUGGESTION */
    .moteur_links_suggestion {
        height: 90px;
    }

    .moteur_links_suggestion > h1{
        font-size: 15px;
    }

    #links {
        width: 75%;
        font-size: 12px;
        margin: 85px auto 75px;
    }

    #links h2{
        font-size: 16px;
    }

    #links a {
        margin-bottom: 10px;
    }

}

@media screen and (max-width: 575px){
    .sugg_recherche{
        margin-bottom: 20px;
    }

    .company_name{
        width: 70%;
    }
}


@media screen and (max-width: 500px){
    #markets h2 {
        padding-top: 38px;
        font-size: 1.7em;
    }

    #markets > div {
        width: 47%;
    }

    #tous_les_pros {
        font-size: 1.7em;
        padding-bottom: 10px;
        padding-top: 6px;
    }

    .sugg_recherche > span {
        font-size: 1.2em;
    }

    .sugg_recherche > a {
        height: 30px;
        width: 100px;
        padding-top: 8px;
        margin: auto;
        margin-right: 4px;
        margin-bottom: 7px;
        font-size: 12px;
    }

    #galerie_photo{
        margin-left: -15px;
        margin-right: -15px;
    }

    .company_name {
        font-size: 12px;
        font-weight: 600;
        padding: 7px 5px 10px 20px;
        margin-bottom: 74px;
    }

    .company_address{
        font-weight: 500;
        font-size: 0.9em;
        padding-top: 5px;
    }
}

@media screen and (max-width: 450px){
    .company_name{
        width: 80%;
    }

    /* PAGE SUGGESTION */
    .moteur_links_suggestion {
        height: 80px;
        padding-top: 11px;
    }

    .moteur_links_suggestion > h1{
        font-size: 13px;
    }

    #links {
        width: 75%;
        font-size: 12px;
        margin: 65px auto 60px;
    }

    #links h2{
        font-size: 14px;
    }

    #links a {
        margin-bottom: 10px;
    }

    #city {
        font-size: 2.4em;
    }
}

@media screen and (max-width: 410px){
    .company_name{
        font-size: 11px;
    }
}


@media screen and (max-width: 370px){
    #markets h2 {
        padding-top: 36px;
        font-size: 1.5em;
        height: 95px;
    }

    .company_name{
        width: 96%;
        margin-left: 2%;
        padding: 7px 4px 10px 15px;
        height: 20%;
    }

    #tous_les_pros {
        font-size: 1.5em;
        padding-bottom: 10px;
        padding-top: 2px;
    }

    #markets > div {
        height: 115px;
    }


    .lazy .texte_hide {
        padding: 15px 0 0 10px;
    }

    #city {
        font-size: 2.2em;
    }
}

@media screen and (max-width: 329px){


    #markets > div {
        height: 150px;
        width: 90%;
    }

    .moteur_links_suggestion > h1{
        font-size: 12px;
    }
}