.mn-main {
    position:relative;
    background:white;
    height:70px;
    z-index: 99;
    -webkit-box-shadow: 0px 1px 2px rgba(150, 150, 150, 0.3) ;
    -moz-box-shadow: 0px 1px 2px rgba(150, 150, 150, 0.3);
    box-shadow: 0px 1px 2px rgba(150, 150, 150, 0.3);
}
.mn-main > .container {
    display: flex;
}
.mn-main > div{margin:0 auto;padding:0 10px;}
.mn-main ul{display:table;table-layout:fixed;margin:0 auto;height:70px;}
.mn-main ul > li{display:table-cell;vertical-align:top;position:relative;}
/*.mn-main ul > li:before{content:"";display:block;position:absolute;z-index:1;top:50%;left:0;border-right:1px solid #c2c2c3;margin-top:-20px;width:1px;height:40px;}*/
.mn-main ul > li:hover{background:#f5f5f5;}
/*.mn-main ul > li:hover:before{display:none;}*/
/*.mn-main ul > li:hover + li:before{display:none;}*/
.mn-main ul > li.current:before,.mn-main ul > li.current:after{display:none!important;}
.mn-main ul > li.current a{color:#cc042d;}
.mn-main ul > li.current + li:before{display:none;}
.mn-main ul > li:last-child:after{display:block;position:absolute;z-index:1;top:50%;right:1px;border-right:1px solid #c2c2c3;margin-top:-20px;width:1px;height:40px;}
.mn-main ul > li:last-child:hover:after{display:none;}
.mn-main ul > li.evenement{width:230px;position:relative;left:auto;top:auto;margin-left:0;margin-bottom:-20px;}
.ie8 .mn-main ul > li.evenement:after{content:"";display:block;position:absolute;z-index:1;top:50%;right:0;border-right:1px solid #c2c2c3;margin-top:-20px;width:1px;height:40px;}
.ie8 .mn-main ul > li.evenement:hover:after{display:none;}
@media all and (min-width:1600px) and (max-width:3000px){
  .mn-main ul > li.evenement{position:absolute;left:50%;top:0;margin-left:466px;}
}
@media all and (max-width:1010px){
  .mn-main ul > li.evenement{display:none;}
}
.mn-main ul > li.evenement .col{position:relative;padding-left:80px;height:60px;text-align:left;text-transform:none;color:#d01c34;}
.mn-main ul > li.evenement .col:before{position:absolute;top:-11px;left:10px;z-index:100;content:url(https://media.nexity.fr/nfr2014/img/mn-event.png);}
.mn-main ul > li.evenement .block{display:block;text-transform:uppercase;}
.ie8 .mn-main ul > li.evenement .block{zoom:1;}

.mn-main ul a{
    width:100%;
    text-transform:uppercase;
    text-decoration:none;
    font-family:Joey,"FS Joey","Trebuchet MS",Arial,Helvetica;
    font-size:16px;
    line-height:20px;
    color:#2b2b2b;
    -webkit-transition:background 0.15s;-moz-transition:background 0.15s;-ms-transition:background 0.15s;-o-transition:background 0.15s;transition:background 0.15s;}
.mn-main ul a .col{display:table-cell;vertical-align:middle;height:70px;text-align:center;padding: 16px 2vw 16px 2vw;}
.mn-main ul a .col.fixed-width { width:120px;}
.mn-main ul a strong{display:block;font-weight: normal;}
.mn-main .mn-4-items > li{width:25%;}
.mn-main .mn-5-items > li{width:20%;}
.mn-main .mn-6-items > li{width:16.6%;}

.mn-main .autopromoMenu{margin-left:10px;margin-top:-10px;width:195px;height:63px;margin-right:10px;}
.mn-main .autopromoMenu img{width:195px;height:75px;border:0;border:none;margin-left:10px;margin-top:-15px;width:195px;height:75px;margin-right:10px;}


/*NEW HEADER*/
header .mn-main > .container {
    position: static;
}
header .mn-main .main.items {
    text-transform: uppercase;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    position: static;
}
header .mn-main a,
header .mn-main a:active,
header .mn-main a:focus,
header .mn-main a:hover,
header .mn-main a:visited {
    cursor: pointer;
    color: #2b2b2b;
    text-decoration: none;
}
header .mn-main .main.items a {
    display: inline-flex;
    justify-content: center;
    flex-direction: column;
    text-align: center;
}

@keyframes fadeInDown {
    from,
    60%,
    75%,
    90%,
    to {
        animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    }
    from {
        opacity: 0;
        transform: translate3d(3000px, 0, 0);
    }
    60% {
        opacity: 1;
        transform: translate3d(-25px, 0, 0);
    }
    75% {
        transform: translate3d(10px, 0, 0);
    }
    90% {
        transform: translate3d(-5px, 0, 0);
    }
    to {
        transform: translate3d(0, 0, 0);
    }
}
/* #main-nav to .mn-main in selection */
header .mn-main .main.items > a {
    height: 70px;
    padding: 16px 1.6vw;
    font-size: 15.3px;
    text-align: center;
    line-height: 125%;
    vertical-align: top;
    position: relative;
    -webkit-transition: all 0.5s;
    -o-transition: all 0.5s;
    transition: all 0.5s;
}
header .mn-main .main.items > a:after {
    content: "";
    position: absolute;
    bottom: 0;
    background-color: #aaaaaa;
    left: 0;
    width: 100%;
    height: 0px;
    -webkit-transition: all 0.4s;
    -o-transition: all 0.4s;
    transition: all 0.4s;
}
header .mn-main .main.items > a.acheter:after, header .mn-main .main.items > a.acheter + .jm_smartmenu a.sm_item:hover {
    background-color: #0098c3;
}
header .mn-main .main.items > a.investir:after, header .mn-main .main.items > a.investir + .jm_smartmenu a.sm_item:hover {
    background-color: #cbae12;
}
header .mn-main .main.items > a.louer:after, header .mn-main .main.items > a.louer + .jm_smartmenu a.sm_item:hover {
    background-color: #739c3f;
}
header .mn-main .main.items > a.vendre:after, header .mn-main .main.items > a.vendre + .jm_smartmenu a.sm_item:hover {
    background-color: #92b3c2;
}
header .mn-main .main.items > a.coproprietes:after, header .mn-main .main.items > a.coproprietes + .jm_smartmenu a.sm_item:hover {
    background-color: #7a709a;
}
header .mn-main .main.items > a.gestion-locative:after, header .mn-main .main.items > a.gestion-locative + .jm_smartmenu a.sm_item:hover {
    background-color: #008641;
}
header .mn-main .main.items > a.nav-guide:after, header .mn-main .main.items > a.nav-guide + .jm_smartmenu a.sm_item:hover {
    background-color: #e24f4f;
}
header .mn-main .main.items > a:hover:after, header .mn-main .main.items > a.active:after, header .mn-main .main.items > a.opened:after {
    height: 7px;
}
header .mn-main .main.items > a.active + .menu-items {
    display: block;
}
header .mn-main .main.items > a.opened + .jm_smartmenu {
    display: block;
}
header .mn-main .main.items > a.opened + .menu-items {
    z-index: 1;
    background-color: white;
    display: block;
}
header .mn-main .main.items > a.nav-guide:before {
    content: "";
    position: absolute;
    left: 0;
    width: 1px;
    height: 45%;
    background-color: #2b2b2b;
}
header .mn-main .main.items > a.bandeau {
    transition: none;
    color: white;
    max-width: calc(170px + 2vw);
    box-sizing: border-box;
}
header .mn-main .main.items > a.bandeau.cnat {
    background-color: #d22238;
    font-size: 15px;
    line-height: 14px;
    padding: 10px;
    max-width: 170px;
}
header .mn-main .main.items > a.bandeau.cnat:hover {
    background-color: #d22238;
}
header .mn-main .main.items > a.bandeau.cnat p {
    margin: 0;
}
header .mn-main.cnat .items a {
    padding: 16px 1.4vw;
}
header .mn-main .menu-items {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    color: #4b4b4b;
    background-color: rgba(255, 255, 255, 0.9);
    border-top: solid 1px #e8e8e8;
    box-shadow: 0 1px 4px #e8e8e8 inset;
}
header .mn-main .menu-items ul {
    margin-bottom: 0;
}
header .mn-main .menu-items ul li {
    display: inline-block;
    text-align: center;
    position: relative;
}
header .mn-main .menu-items ul li a.sub-item {
    padding: 12px 1vw;
    margin: 0;
    height: auto !important;
}
header .mn-main .menu-items ul li a.sub-item:hover {
    background-color: #e8e8e8;
}
header .mn-main .menu-items ul li a.sub-item span {
    text-transform: none;
    font-size: 16px;
    line-height: 16px;
}
header .mn-main .menu-items ul li a.sub-item span.active {
    color: #d22238;
}
header .mn-main .jm_smartmenu {
    position: absolute;
    top: 70px;
    left: calc(50vw - 440px);
    min-height: 250px;
    width: 880px;
    background: white;
    box-shadow: 0px 2px 8px 0px rgba(0, 0, 0, 0.5);
    padding: 20px;
    text-transform: none;
    text-align: left;
    font-size: 15px;
    display: none;
    animation: fadeInDown 0.5s;
    -webkit-transition: top 0.5s;
    -o-transition: top 0.5s;
    transition: top 0.5s;
}
header .mn-main .jm_smartmenu .sm_col {
    display: inline-block;
    vertical-align: top;
}
header .mn-main .jm_smartmenu .sm_col.first {
    margin-right: 20px;
}
header .mn-main .jm_smartmenu .sm_col.second {
    margin-right: 20px;
}
header .mn-main .jm_smartmenu .sm_col.third .sm_autopromo {
    position: relative;
    color: white;
    width: 220px;
    height: 240px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
header .mn-main .jm_smartmenu .sm_col.third .sm_autopromo > * {
    z-index: 1;
}
header .mn-main .jm_smartmenu .sm_col.third .sm_autopromo:before {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2);
}
header .mn-main .jm_smartmenu .sm_col.third .sm_autopromo .title {
    font-size: 25px;
    line-height: 25px;
    margin-bottom: 20px;
}
header .mn-main .jm_smartmenu .sm_col.third .sm_autopromo .text {
    font-size: 16px;
}
header .mn-main .jm_smartmenu .sm_col.third .sm_autopromo .cta {
    position: absolute;
    bottom: 20px;
    left: 30px;
    right: 30px;
    color: white;
    font-size: 14.5px;
    padding: 6px 20px;
}
header .mn-main .jm_smartmenu .sm_col > a {
    display: block;
    width: 290px;
    position: relative;
    text-align: left;
}
header .mn-main .jm_smartmenu .sm_col > a.sm_title {
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    padding: 0px 5px 8px;
    min-height: 30px;
}
header .mn-main .jm_smartmenu .sm_col > a.sm_title .see-more {
    text-transform: lowercase;
    color: #0098c3;
    margin-top: -1px;
    text-decoration: underline;
}
header .mn-main .jm_smartmenu .sm_col > a.sm_item {
    border-top: 1px solid #e8e8e8;
    padding: 9px 30px 10px 5px;
    background-repeat: no-repeat;
    background-size: 25px;
    background-position: 5px 7px;
}
header .mn-main .jm_smartmenu .sm_col > a.sm_item + a.sm_title {
    border-top: 1px solid #e8e8e8;
    padding-top: 20px;
}
header .mn-main .jm_smartmenu .sm_col > a.sm_item:last-of-type {
    border-bottom: 1px solid #e8e8e8;
}
header .mn-main .jm_smartmenu .sm_col > a.sm_item:after {
    position: absolute;
    top: 6px;
    right: 5px;
    content: url("https://media2.nexity.fr/nfr2016/picto/expand_less.svg");
    display: block;
    width: 26px;
    height: 30px;
    transform: rotate(90deg);
}
header .mn-main .jm_smartmenu .sm_col > a.sm_item:hover {
    color: white;
}
header .mn-main .jm_smartmenu .sm_col > a.sm_item:hover:after {
    content: url("https://media2.nexity.fr/nfr2016/picto/expand_less-white.svg");
}
header .mn-main .jm_smartmenu .sm_col > a.sm_item:hover > img {
    filter: contrast(200%) grayscale(100%) invert(100%);
}
header .mn-main .jm_smartmenu .sm_col > a.sm_item.picto {
    padding-left: 36px;
}
header .mn-main .jm_smartmenu .sm_col > a.sm_item > img {
    position: absolute;
    max-height: 25px;
    max-width: 25px;
    top: 7px;
    left: 4px;
}
/* */

header .input-group {
    position: relative;
    display: table;
    border-collapse: separate;
    background-color: white;
    margin-bottom: 15px;
}

header .input-group-addon:first-child {
    border-right: 0;
}
header .input-group .form-control:first-child,
header .input-group-addon:first-child,
header .input-group-btn:first-child>.btn,
header .input-group-btn:first-child>.btn-group>.btn,
header .input-group-btn:first-child>.dropdown-toggle,
header .input-group-btn:last-child>.btn:not(:last-child):not(.dropdown-toggle),
header .input-group-btn:last-child>.btn-group:not(:last-child)>.btn {
    border-bottom-right-radius: 0;
    border-top-right-radius: 0;
}
header .input-group .form-control:last-child,
header .input-group-addon:last-child,
header .input-group-btn:last-child>.btn,
header .input-group-btn:last-child>.btn-group>.btn,
header .input-group-btn:last-child>.dropdown-toggle,
header .input-group-btn:first-child>.btn:not(:first-child),
header .input-group-btn:first-child>.btn-group:not(:first-child)>.btn {
    border-bottom-left-radius: 0;
    border-top-left-radius: 0;
}
header .input-group-addon {
    padding: 6px 12px;
    font-size: 14px;
    font-weight: normal;
    line-height: 1;
    color: #555;
    text-align: center;
    background-color: #eee;
    border: 1px solid #ccc;
    border-radius: 4px;
}
header .input-group-addon,
header .input-group-btn {
    width: 1%;
    white-space: nowrap;
    vertical-align: middle;
}
header .input-group-addon, header .input-group-btn, header .input-group .form-control {
    display: table-cell;
}

header .form-control {
    z-index: 2;
    float: left;
    margin-bottom: 0;
    position: relative;
    display: block;
    width: 100%;
    height: 40px;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
    box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
    -webkit-transition: border-color ease-in-out 0.15s,box-shadow ease-in-out 0.15s;
    -o-transition: border-color ease-in-out 0.15s,box-shadow ease-in-out 0.15s;
    transition: border-color ease-in-out 0.15s,box-shadow ease-in-out 0.15s;
}

header aside.header-companion {
    font-family:Joey,"FS Joey","Trebuchet MS",Arial,Helvetica;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 50;
    font-size:16px;
}

header aside.header-companion .form-search {
    display: none;
    vertical-align: top;
    margin-right: -3px;
    width: 300px;
    padding: 15px 14px 14px;
    border-left: 1px dashed #aaa;
    background-color: white;
    white-space: nowrap;
    transition: all ease-in-out 0.5s;
}

header aside.header-companion .form-search input[type='text'] {
    font-size: 17px;
    width: 200px;
    margin: 0 15px 0 5px
}

header aside.header-companion .form-search button {
    padding: 8px 13px
}

header aside.header-companion .form-search.active {
    display: inline-block;
}

@media all and (max-width:1024px) {
    .mn-main ul a .col {
        display: table-cell;
        vertical-align: middle;
        height: 70px;
        text-align: center;
        padding: 16px 1.4vw;
    }
}

    header aside.header-companion .form-login {
        display: none;
        text-transform: none;
        position: absolute;
        z-index: 2;
        top: 0px;
        right: 75px;
        min-width: 315px;
        padding: 15px 15px;
        background-color: white;
        border-left: 1px dashed #aaa;
        border-right: 1px solid rgba(232, 232, 232, 0.8);
        border-bottom: 1px solid rgba(232, 232, 232, 0.8);
    }

    header aside.header-companion .form-login .login-title {
        margin: 7px 0 20px;
        font-size: 20px;
    }

    header aside.header-companion .form-login .input-group {
        margin-bottom: 15px
    }

    header aside.header-companion .form-login .input-group .input-group-addon {
        background-color: white;
        margin-bottom: 15px
    }

    header aside.header-companion .form-login .input-group .input-group-addon svg.envelop {
        margin-top: 4px;
        width: 17px;
        height: 13px
    }

    header aside.header-companion .form-login .input-group .input-group-addon svg.envelop .st0 {
        fill: #aaa
    }

    header aside.header-companion .form-login .input-group .input-group-addon svg.cadena {
        margin-top: 2px;
        width: 17px;
        height: 17px
    }

    header aside.header-companion .form-login .input-group .input-group-addon svg.cadena .st0 {
        fill: #aaa
    }

    header aside.header-companion .form-login .input-group .form-control {
        height: 40px
    }

    header aside.header-companion .form-login button {
        margin-top: 10px;
        padding: 12px;
        text-transform: uppercase;
        width: 100%
    }

    header aside.header-companion .form-login .connect_error {
        display: none;
        text-align: center;
        margin: 15px 0 5px;
        padding: 7px 0 10px;
    }

    header aside.header-companion .form-login .forgottenPasswd {
        margin: 15px 0;
        font-size: 14px;
    }

    header aside.header-companion .form-login .forgottenPasswd a {
        color: #2d2d2d;
        font-style: italic;
        text-decoration: underline
    }

    header aside.header-companion .form-login .accountCreate {
        margin: 10px 0
    }

    header aside.header-companion .form-login .accountCreate .pas-compte {
        font-size: 17px
    }

    header aside.header-companion .form-login .accountCreate p {
        color: #aaa;
        margin-top: 7px
    }

    header aside.header-companion .form-login .accountCreate .link {
        padding: 15px 0 5px;
        text-align: center
    }

    header aside.header-companion .form-login.active {
        display: block;
    }

    header aside.header-companion .form-login.notice {
        -webkit-box-shadow: 0px 0px 10px #BBB;
        -moz-box-shadow: 0px 0px 10px #BBB;
        box-shadow: 0px 0px 10px #BBB;
    }

    header aside.header-companion .form-login.notice a {
        display: none;
    }

    header aside.header-companion .form-login .connect_title {
        font-size: 18px;
        font-weight: bold;
    }

    header aside.header-companion .form-login .connect_ok {
        width: 335px;
    }

    header aside.header-companion .form-login .connect_ok .red_link {
        color: #d01c34;
        font-weight: bold;
        margin-right: 20px;
    }

    header aside.header-companion .form-login .connect_ok .cta {

    }

    header aside.header-companion .items {
        position: relative;
        display: inline-block;
        vertical-align: top;
        white-space: nowrap;
        background-color: #fff;
        height: 70px;
    }

    header aside.header-companion .items a.tab {
        height: 70px;
        padding: 11px 15px;
        text-align: center;
        border-left: 1px dashed #aaa;
        -webkit-transition: all .5s;
        -o-transition: all .5s;
        transition: all .5s;
        position: relative;
        display: inline-block;
        vertical-align: top;
    }

    .first-two-items {
        padding: 11px 10px;
    }
    header aside.header-companion .items a.last-item-my-nexity {
        padding-right: 20px;
    }

    header aside.header-companion .last-visits .content-annonces {
        position: absolute !important;
        right: 0;
        min-width: 40vw;
        padding-bottom: 0;
        top: 70px;
        box-shadow: 1px 15px 12px #555;
        text-align: left;
        transform: scaleY(1);
        transform-origin: 50% 0;
        transition: transform .5s ease;
    }

    header aside.header-companion .items a.tab > div:first-of-type {
        text-transform: none;
        font-size: 11px;
        margin-top: 2px;
        position: relative;
        line-height: 11px;
        letter-spacing: 1px;
        position: relative;
        text-align: center;
    }

    header aside.header-companion .last-visits div sup {
        position: absolute;
        border-radius: 100%;
        background-color: #D01C34;
        width: 1.5em;
        height: 1.5em;
        text-align: center;
        vertical-align: bottom;
        color: white;
        top: -19px;
        left: 39px;
        font-weight: bold;
        line-height: 1.4em;
        font-size: .8em;
    }

    header aside.header-companion .items a.tab div {
        text-align: left;
    }

    header aside.header-companion .items a.tab .closed {
        transform: scaleY(0);
        transform-origin: 50% 0;
        transition:transform 1s ease;
    }

    header aside.header-companion .items a.tab strong.visits-title {
        text-transform: uppercase;
        font-size: 1.2em;
    }



    header aside.header-companion .items a.tab .last-visits-container {
        margin-top: 1em;
        max-height: 370px;
        overflow: auto;
    }

    header aside.header-companion .items a.tab.inactive {
        display: none;
    }

    header aside.header-companion .items a.active {
        background-color: #e8e8e8;
        color: #d22238;
    }

    header aside.header-companion .items a.favorisAction .nb-favoris {
        display: none;
        position: absolute;
        z-index: 1;
        font-size: 13px;
        line-height: 15px;
        margin: 8px 0 0 17px;
        width: 18px;
        height: 18px;
        border-radius: 9px;
        background-color: #cc042d;
        color: white;
        text-align: center;
        border: 1px solid white;
    }

    header aside.header-companion .items a.favorisAction.hasFavs .nb-favoris {
        display: block;
    }

    header aside.header-companion .items a.loginAction {
        width: 100px;
    }

    header aside.header-companion .items svg {
        width: 27px;
        height: 27px;
        display: inline-block;
    }

    header aside.header-companion .items svg.search .st0 {
        fill: #2b2b2b;
    }

    header aside.header-companion .items svg.heart .st0 {
        fill: #2b2b2b;
    }

    header aside.header-companion .items svg.user .st0 {
        fill: #2b2b2b;
    }

    header aside.header-companion .items .logged svg.user .st0 {
        fill: #c3042b;
    }

    header aside.header-companion .items .admin svg.user .st0 {
        fill: #338407;
    }

@media (max-width: 992px) {
    header .mn-main .jm_smartmenu {
        left: 2vw;
        width: 96vw;
    }
    header .mn-main .jm_smartmenu .sm_col > a {
        width: calc((96vw - 300px)/2);
    }
    header #main-nav aside.header-companion .items {
        margin-right: 0;
    }
    header #main-nav aside.header-companion .items a {
        padding: 25px 12px 16px 12px;
    }
    header aside.header-companion .items a.searchAction,header aside.header-companion .items a.favorisAction {
        display: none;
    }
}
