
/* ================== */
/* MOBILE MENU                                */
/* ================== */

@media (max-width: 1024px) {
    #mobile-menu, #mobile-filters {
        position: fixed;
        top: 0;
        right: -300px;
        width: 300px;
        height: 100vh;
        transition: transform .55s cubic-bezier(.645, .045, .355, 1);
        -ms-transform: translateX(0);
        -webkit-transform: translateX(0);
        transform: translateX(0);
        z-index: 9999;
        background: white;
        border-right: 1px solid grey;
        left: -300px;
        overflow-x: hidden;
    }

    #mobile-menu.menu-opened, #mobile-filters.menu-opened {
        display: block;
        transition: transform .45s cubic-bezier(.645, .045, .355, 1);
        -ms-transform: translateX(300px);
        -webkit-transform: translateX(300px);
        transform: translateX(300px);
    }
}

@media (min-width: 1024px) {
    #mobile-menu{
        display:none;
    }
    .mobile-filters-btn{
        display:none;
    }
}
#mobile-menu > ul{
    padding: 5px 0 25px 20px;
    margin:0;
    list-style:none;
}
#mobile-menu ul .open>ul {
    -webkit-transform: translate(0,0);
    -ms-transform: translate(0,0);
    transform: translate(0,0);
    -webkit-transform: translate3d(0,0,0);
    transform: translate3d(0,0,0);
}
#mobile-menu ul ul{
    background: inherit;
    border-color: inherit;
    box-sizing: border-box;
    margin: 0;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 10;
    background-color: #fff;
    -webkit-transform: translate(100%,0);
    -ms-transform: translate(100%,0);
    transform: translate(100%,0);
    -webkit-transform: translate3d(100%,0,0);
    transform: translate3d(100%,0,0);
    -webkit-transition: -webkit-transform .4s ease;
    transition: -webkit-transform .4s ease;
    transition: transform .4s ease;
    transition: transform .4s ease,-webkit-transform .4s ease;
    -webkit-transform-origin: top left;
    -ms-transform-origin: top left;
    transform-origin: top left;
    padding-left: 15px;
    overflow: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 5px 20px 0;
}
#mobile-menu li{
    margin: 0;
    padding: 0;
    border: 0;
    list-style: none;
    line-height: 32px;
    display: block;
    text-align: left;
}
#mobile-menu li a{
    cursor: pointer;
    z-index: 2;
    padding: 5px 0;
    color: #212b35;
    font-size: 13px;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin: 0;
    border: 0;
    list-style: none;
    line-height: 32px;
    display: block;
    text-align: left;
}
#mobile-menu ul{
    list-style:none;
}
#mobile-menu a{
    color: #333;
    -webkit-transition: all .2s;
    -moz-transition: all .2s;
    -o-transition: all .2s;
    transition: all .2s;
}
#mobile-menu a:hover{
    color: #e2007a;
    padding-left: 5px;
    text-decoration:none;
}

#mobile-menu .sub-menu a {
    text-transform: none;
    letter-spacing: 2px;
}
#mobile-menu .child-back>a:before {
    content: "\f104";
    font-family: FontAwesome;
    display: inline-block;
    color: #222;
    padding-right: 5px;
}
#mobile-menu .child-back {
    border-bottom: 1px solid #404040;
}

/* ================== */
/* HEADER                                */
/* ================== */

header{
    width:100%;
    border-bottom: 1px solid var(--line);
    background:white;
    height: 60px;
    display: flex;
    align-items: center;
    font-size: 13px;
    font-family: 'Plus Jakarta Sans',-apple-system,Segoe UI,Roboto,sans-serif;
}
header a{
    color: #555;
}
header a:hover{
    text-decoration:none;
}

@keyframes live_stuck{
    0%{
        opacity: 0;
        transform:translateY(-100%)
    }
    100%{
        opacity: 1;
        transform:translateY(0)
    }
}

header .container{
    padding-right: 10px;
    padding-left: 10px;
    margin-right: auto;
    margin-left: auto;
    width: 95%;
}

#header-wrapper{
    display:flex;
    justify-content:space-between;
}
#header-nav{
    display:flex;
}

#header-burger {
    align-items:center;
    display:none;
}
#header-burger a {
    margin-right:15px;
}
#header-burger .mobile-menu-btn{
    pointer:cursor;
}
@media (max-width: 1024px){
    #header-burger {
        display:flex;
        width: 10%;
        white-space: nowrap;
    }
}
@media (max-width: 1024px){
    #header-nav {
        display:none;
    }
    #header-logo{
        justify-content: center;
    }
}

#header-logo{
    display: flex;
    font-size: 1.3em;
    align-items: center;
    font-weight: 800;
    letter-spacing: -.3px;
}
#header-menu-right{
    flex-basis:10%;
    display:flex;
    align-items:center;
}
#header-menu-right{
    justify-content:flex-end;
}
#header-menu-right a {
    margin-left:15px;
    color: var(--muted);
}

#header-menu-right .header-menu-dossier-sav{
    position: relative;
    margin-right: 10px;
}

#pastille-sav{
    position: absolute;
    bottom: -14px;
    right: -10px;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    color: white;
    font-weight: bold;
    font-size: 14px;
    background-color: #e2007a;
    display: flex;
    align-items: center;
    justify-content: center;
}

#header-nav nav ul {
    list-style: none;
    margin:0;
    padding:0;
}
#header-nav nav > ul > li{
    display: inline-block;
    margin-left: -2px;
    position: relative;
}

#header-nav nav > ul > li > a {
    height: 60px;
    line-height: 60px;
    display: inline-block;
    text-transform: uppercase;
    font-size: 14px;
    padding-left: 13px;
    padding-right: 13px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: .1em;
    font-weight: 500;
    position:relative;
    color: var(--ink-soft);
    border-bottom: 2px solid transparent;
}
#header-nav nav > ul > li:hover > a {
    color: var(--ink);
    border-color: var(--pink);
}

#header-nav .menu-item:hover>.sub-menu{
    pointer-events: auto;
    visibility: visible;
    opacity: 1;
    top: 100%;
}
.menu-item.menu-phoning a {
    color: #3a87ad!important;
}
.menu-item.menu-phoning a:hover {
    color: #185c7e!important;
}
#header-nav .sub-menu li {
    font-size: 14.5px;
    line-height: 1;
    padding: 10px 15px;
}
#header-nav .sub-menu a {
    border-bottom: 2px solid transparent;
    transition: all .3s ease-out;
    font-weight:normal;
    color: var(--ink-soft);
    line-height: 20px;
}
#header-nav .sub-menu a:hover {
    color: var(--ink);
    border-bottom-color: var(--pink);
}

#header-nav .sub-menu{
    padding: 10px 0;
    position: absolute;
    min-width: 250px;
    display: table;
    background: #fff;
    top: 120%;
    left: 0;
    -webkit-transition: opacity .2s ease .1s,visibility .2s ease .1s,top .2s ease .1s;
    -moz-transition: opacity .2s ease .1s,visibility .2s ease .1s,top .2s ease .1s;
    -o-transition: opacity .2s ease .1s,visibility .2s ease .1s,top .2s ease .1s;
    transition: opacity .2s ease .1s,visibility .2s ease .1s,top .2s ease .1s;
    text-align: left;
    z-index: 300;
    pointer-events: none;
    box-shadow: 0 2px 5px rgba(0,0,0,.15);
    border-top: 1px solid #ececec;
    opacity: 0;
    visibility: hidden;
}

#header-nav nav li.has-children > a:after {
    position: absolute;
    top: 50%;
    margin-top: -7px;
    font-family: FontAwesome;
    line-height: 14px;
    font-weight: 400;
    content: "\f107";
    right: 1px;
    font-size: 12px;
    color: #bbb;
}

#header-logo img{
    vertical-align: baseline;
    margin-right: 5px;
    width:40px;
}

#header-logo a{
    text-decoration: none;
    font-weight: normal;
    color: #000;
    font-size:.8em;
}

/* ================== */
/* OVERLAY                  */
/* ================== */
.overlay{
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99;
    opacity: 0;
    background: rgba(0,0,0,.1);
    -webkit-transition: opacity .3s ease-in-out;
    -o-transition: opacity .3s ease-in-out;
    transition: opacity .3s ease-in-out;
    -webkit-transition-delay: .2s;
    -o-transition-delay: .2s;
    transition-delay: .2s;
    -webkit-animation: no_space_and_hidden 0s;
    animation: no_space_and_hidden 0s;
    -webkit-animation-fill-mode: forwards;
    animation-fill-mode: forwards;
    -webkit-animation-delay: .6s;
    animation-delay: .6s;
}
.overlay.visible{
    opacity: 1;
    -webkit-animation: full_and_visible 0s;
    animation: full_and_visible 0s;
    -webkit-animation-fill-mode: forwards;
    animation-fill-mode: forwards;
}
.overlay-body{
    background-color: rgba(0,0,0,.7);
    bottom: -500px;
    position:fixed;
}

@-webkit-keyframes full_and_visible {
    to {
        width: 100%;
        height: 100%;
        visibility: visible
    }
}

@keyframes full_and_visible {
    to {
        width: 100%;
        height: 100%;
        visibility: visible
    }
}

@-webkit-keyframes no_space_and_hidden {
    to {
        width: 0;
        height: 0;
        visibility: hidden
    }
}

@keyframes no_space_and_hidden {
    to {
        width: 0;
        height: 0;
        visibility: hidden
    }
}

/* ================== */
/* SEARCH                      */
/* ================== */

#search-content.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    -webkit-transform: translateY(0);
    -moz-transform: translateY(0);
    -ms-transform: translateY(0);
    -sand-transform: translateY(0);
    -o-transform: translateY(0);
}
#search-content{
    box-sizing: border-box;
    position: fixed;
    visibility: hidden;
    opacity: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    padding:30px;
    right: 0;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    max-height: 100%;
    z-index: 99999;
    background-color: #fff;
    min-height: 330px;
    transform: translateY(100%);
    -webkit-transform: translateY(100%);
    -moz-transform: translateY(100%);
    -ms-transform: translateY(100%);
    -sand-transform: translateY(100%);
    -o-transform: translateY(100%);
    -webkit-transition: opacity .25s ease-in-out,visibility .25s,transform .25s ease-in-out;
    -moz-transition: opacity .25s ease-in-out,visibility .25s,transform .25s ease-in-out;
    -o-transition: opacity .25s ease-in-out,visibility .25s,transform .25s ease-in-out;
    transition: opacity .25s ease-in-out,visibility .25s,transform .25s ease-in-out;
}
#search-content a{
    font-weight:normal;
}
#search-content input[type="text"]{
    color: #000;
    background: 0 0;
    border: none;
    border-bottom: 2px solid #ddd;
    font-weight: 900;
    height: auto;
    font-size: 24px;
    padding: 6px 35px 6px 0;
    line-height: 1.5;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width:100%;
    padding: 6px 55px 20px 0;
    font-size: 41px;
}
#search-content input[type="text"]:focus{
    outline:none;
}
@media (max-width: 1024px){
    #search-content{
        padding:25px;
        height:100%;
    }
    #search-content input[type="text"] {
        font-size: 20px;
        padding: 3px 55px 15px 0;

    }
}
.search-content-close{
    position: absolute;
    cursor: pointer;
    top: 50%;
    margin-top: -20px;
    right: 0;
    width: 30px;
    height: 30px;
    color: #fff;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1.5px;
    line-height: 33px;
    z-index: 301;
    -webkit-transition: color .2s ease-in-out;
    -moz-transition: color .2s ease-in-out;
    -o-transition: color .2s ease-in-out;
    transition: color .2s ease-in-out;
    font-size: 0;
    transition: all .3s;
}
#the-search-bar{
    position:relative;
}
.search-content-close:after, .search-content-close:before {
    content: " ";
    position: absolute;
    width: 30px;
    height: 2px;
    right: 0;
    top: 50%;
    margin-top: -1px;
    display: inline-block;
    background-color: #000;
}
.search-content-close:after {
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
}
.search-content-close:before {
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

/* Advanced block */
#advanced-search-block, #search-options-bar{
    margin: 20px 0;
}
#advanced-search-block{
    background: #eee;
    padding: 10px;
}
#search-content input[type="checkbox"]{
    width:unset;
}

.no-scroll{
    overflow: hidden;
}

.loader{
    text-align:center;
    color: #b9b9b9;
    display:none;
}
.spinner {
    max-width:75px;
    animation: spin 2s steps(8, end) infinite;
}
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}
@keyframes spin-old {
    from {
        transform:rotate(0deg);
    }
    to {
        transform:rotate(360deg);
    }
}