.page-header {
    position: fixed;
    top: 0px;
    left: 0;
    width: 100%;
    z-index: 998;
    text-align: center;
    background-color: var(--bleufonce);
}

.page-header .container-fluid {
    border-right: 1px solid var(--bleufonce)
}

.page-header a.logo {
    display: inline-block;
    height: 100px;
    width: 100%;
    background: var(--bleufonce) url(img/logo-ploemeur.svg) no-repeat center;
    background-size: auto 90%;
}

.page-header a {
    color: var(--bleufonce);
    text-transform: uppercase
}

.page-header a:hover {
    color: var(--bleuclair);
}

.page-header .infos {
    font-size: 0.8rem;
    font-weight: 500;
}

.page-header a.btn-mobile {
    position: absolute;
    right: 5%;
    top: 0;
    width: 70px;
    height: 100%;
    background: none;
    color: #fff;
}

.page-header a.btn-mobile > span {
    position: relative;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
}

.page-header a.btn-mobile i {
    font-size: 1.5rem;
}

.page-header a.btn-mobile span {
    display: block;
    font-weight: 500;
    font-size: 0.8rem;
}

.page-header a.btn-mobile:hover, header a.btn-mobile.active {
    background: #fff;
    color: #202867;
}

.menu-mobile {
    position: fixed;
    z-index: 997;
    top: 100px;
    left: 0;
    -webkit-transform: translateX(-100%);
    transform: translateX(-100%);
    -webkit-transition: all 0.5s ease;
    transition: all 0.5s ease;
    width: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    background-color: var(--blanc);
}

.menu-mobile.opened {
    -webkit-transform: translateX(0);
    transform: translateX(0);
}

.menu-mobile .container-fluid {
    padding: 0;
}

.menu-mobile .niveau1 a {
    position: relative;
    display: block;
    height: 100px;
    font-size: 14px;
    line-height: 22px;
    font-weight: 500;
    text-align: center;
}

.menu-mobile .niveau1 .main-menu a {
    line-height: 100px;
    text-transform: uppercase;
    background: #fff;
    padding: 0 20px;
}

.menu-mobile .niveau1 .main-menu a i {
    position: absolute;
    right: 15px;
    top: 50%;
    margin-top: -15px;
    font-size: 30px;
    color: #111;
    line-height: 30px;
}

.menu-mobile .niveau1 .main-menu a:nth-child(2n-1) {
    background: #F4F4F6;
}

.menu-mobile .niveau1 .main-menu a.mairie {
    border-left: 5px solid #74B9FD;
    color: #74B9FD;
}

.menu-mobile .niveau1 .main-menu a.vivre {
    border-left: 5px solid var(--vivre);
    color: var(--vivre);
}

.menu-mobile .niveau1 .main-menu a.decouvrir {
    border-left: 5px solid var(--decouvrir);
    color: var(--decouvrir);
}

.menu-mobile .niveau1 .main-menu a.search {
    background: #121f39;
    color: #fff;
}

.menu-mobile .niveau1 .main-menu a.search i {
    position: relative;
    right: auto;
    top: 4px;
    margin-top: 0;
    color: #fff;
    margin-right: 10px;
}

.menu-mobile .niveau1 .acces-rapide a {
    background: var(--mairie);
    padding: 65px 10px 15px;
    color: #111;
    border-bottom: 1px solid var(--mairie);
}

.menu-mobile .niveau1 .acces-rapide a.user {
    background: url(../img/pictos/resultats-sportifs.svg) no-repeat center center var(--mairie);
    background-size: auto 30px;
}

.menu-mobile .niveau1 .acces-rapide a.family {
    background: url(../img/ico-famille.svg) no-repeat center 25px var(--mairie);
    background-size: auto 30px;
}

.menu-mobile .niveau1 .acces-rapide a.calendar {
    background: url(../img/ico-calendar.svg) no-repeat center 25px var(--mairie);
    background-size: auto 30px;
}

.menu-mobile .niveau1 .acces-rapide a.infos {
    background: url(../img/ico-infos.svg) no-repeat center 25px var(--mairie);
    background-size: auto 30px;
}

.menu-mobile .niveau1 .acces-rapide a.langfr {
    background: url(../img/flag-fr.svg) no-repeat center 25px var(--mairie);
    background-size: auto 30px;
}

.menu-mobile .niveau1 .acces-rapide a.langen {
    background: url(../img/flag-uk.svg) no-repeat center 25px var(--mairie);
    background-size: auto 30px;
}

.menu-mobile .niveau1 .acces-rapide a.pl360 {
    background: url(../img/ico-pl360.svg) no-repeat center 25px var(--mairie);
    background-size: auto 30px;
}

.menu-mobile .niveau2 {
    padding-bottom: 20px;
}

.menu-mobile .niveau2.mairie {
    background: #74B9FD;
}

.menu-mobile .niveau2.vivre {
    background: var(--vivre);
}

.menu-mobile .niveau2.vivre a.acces span.icon {
    background: var(--vivre);
}

.menu-mobile .niveau2.vivre a.acces span.text {
    background: #d56b0d;
}

.menu-mobile .niveau2.vivre a.acces:hover span.text {
    background: var(--vivre);
}

.menu-mobile .niveau2.decouvrir {
    background: var(--decouvrir);
}

.menu-mobile .niveau2.decouvrir a.acces span.icon {
    background: var(--decouvrir);
}

.menu-mobile .niveau2.decouvrir a.acces span.text {
    background: var(--decouvrir);
}

.menu-mobile .niveau2.decouvrir a.acces:hover span.text {
    background: var(--decouvrir);
}

.menu-mobile .niveau2 a.back {
    display: block;
    height: 100px;
    font-size: 14px;
    color: #111;
    font-weight: 500;
    line-height: 100px;
    text-transform: uppercase;
    background: #fff;
    padding: 0 20px;
}

.menu-mobile .niveau2 a.back i {
    margin-right: 20px;
    font-size: 30px;
    position: relative;
    top: 4px;
}

.menu-mobile .niveau2 ul {
    margin: 30px 0 0;
    padding: 0 15px;
}

.menu-mobile .niveau2 ul li {
    margin: 0;
    padding: 0;
    list-style: none;
}

.menu-mobile .niveau2 ul li a {
    position: relative;
    display: block;
    height: 50px;
    font-size: 14px;
    color: #fff;
    line-height: 50px;
    text-align: center;
}

.menu-mobile .niveau2 ul li a i {
    position: absolute;
    right: 15px;
    top: 50%;
    margin-top: -15px;
    font-size: 30px;
    line-height: 30px;
}

.menu-mobile .niveau2 ul li ul {
    padding: 0;
}

.menu-mobile .niveau2 a.acces {
    display: block;
    text-align: center;
    font-size: 0;
    color: #fff;
    line-height: 20px;
    font-weight: 500;
    padding: 0 30px 10px;
}

.menu-mobile .niveau2 a.acces span.icon {
    display: inline-block;
    vertical-align: top;
    height: 40px;
    width: 40px;
}

.menu-mobile .niveau2 a.acces span.text {
    display: inline-block;
    vertical-align: top;
    font-size: 14px;
    width: calc(100% - 40px);
    padding: 10px 10px;
}

@media screen and (min-width: 992px) {
    .page-header .container-fluid, .mega-menu .container-fluid {
        width: 80%;
    }
    .page-header a.main.menu {
        flex: 1;
    }
}

@media screen and (min-width: 1200px) {
    .page-header {
        background-color: transparent;
    }

    .page-header .container-fluid{
        background-color: var(--blanc);
    }

    .page-header a.main.menu {
        height: 100%;
    }

    .page-header a.menu {
        display: block;
        height: 100px;
        line-height: 100px;
        text-transform: uppercase;
        font-weight: 500;
        background: #fff;
        cursor: default;
    }

    .page-header a.menu.mairie {
        color: var(--mairie);
        border-bottom: 5px solid var(--mairie);
    }

    .page-header a.menu.mairie:hover, .page-header a.menu.mairie.active {
        background-color: var(--mairie);
        color: var(--blanc)
    }

    .page-header a.menu.vivre {
        background: #f6f6f6;
        color: var(--vivre);
        border-bottom: 5px solid var(--vivre);
    }

    .page-header a.menu.vivre:hover, .page-header a.menu.vivre.active {
        background-color: var(--vivre);
        color: var(--blanc)
    }

    .page-header a.menu.decouvrir {
        color: var(--decouvrir);
        border-bottom: 5px solid var(--decouvrir);
    }

    .page-header a.menu.decouvrir:hover, .page-header a.menu.decouvrir.active {
        background-color: var(--decouvrir);
        color: var(--blanc)
    }

    .page-header .bord-l {
        border-left: 1px solid var(--bleufonce);
    }

    .page-header .bord-b {
        border-bottom: 1px solid var(--bleufonce);
    }

    .page-header .meteo, header a.ctc, .page-header .lang, .page-header a.carte {
        position: relative;
        top: 50%;
        -webkit-transform: translateY(-50%);
        transform: translateY(-50%);
    }

    .page-header a.search {
        position: absolute;
        left: 0;
        top: 0;
        display: block;
        width: 100%;
        height: 100%;
        background-color: var(--bleufonce);
        color: var(--blanc);
        padding: 0;
    }

    .page-header a.search:hover {
        background-color: var(--bleuclair);
    }

    .page-header a.search span {
        position: relative;
        top: 36%;
        -webkit-transform: translateY(-50%);
        transform: translateY(-50%);
    }

    .page-header a.ctc {
        display: block;
    }

    .page-header.menu {
        position: fixed;
        z-index: 19;
        top: 105px;
        left: 50%;
        width: 80%;
        color: #fff;
        -webkit-transform: translateX(-50%);
        transform: translateX(-50%);
        text-align: left;
        box-sizing: border-box;
    }

    .mega-menu {
        position: fixed;
        z-index: 19;
        top: 100px;
        width: 100%;
    }

    .mega-menu .container-fluid .row {
        padding: 50px 30px;
    }

    .menu .title {
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        padding-top: 20px;
        padding-bottom: 15px;
        margin-bottom: 15px;
        font-size: 14px;
        line-height: 22px;
        font-weight: 500;
    }

    .menu img {
        width: 100%;
    }

    .menu ul {
        padding: 0;
        margin: 0;
        list-style: none;
    }

    .menu ul li {
        padding: 0;
        margin: 0;
        font-size: 0.8rem;
    }

    .menu ul li a {
        display: block;
        color: #fff;
        margin: 0 0 5px;
    }

    .menu ul li a:hover {
        text-decoration: underline;
    }

    .menu ul li.current-menu-item a {
        text-decoration: underline;
    }

    #menu-mairie li {
        width: 50%;
        float: left;
    }

    .menu a.bloc-type span.wrapper h4 {
        font-size: 14px;
        line-height: 22px;
        text-transform: none;
    }

    .menu .featured .title {
        border: 0;
        margin: 0;
    }

    .menu .acces .title {
        border: 0;
        margin: 0;
    }

    .menu .acces .title:nth-child(n+2) {
        margin-top: 35px;
    }

    .menu .acces a {
        display: block;
        margin-bottom: 10px;
        text-align: center;
        font-size: 0;
        color: #fff;
        line-height: 20px;
        font-weight: 500;
    }

    .menu .acces a span.icon {
        display: inline-block;
        vertical-align: top;
        height: 40px;
        width: 40px;
    }

    .menu .acces a span.text {
        display: inline-block;
        vertical-align: top;
        font-size: 14px;
        width: calc(100% - 40px);
        padding: 10px 10px;
    }

    .menu.mairie .container-fluid .row {
        background: #74B9FD;
    }

    .menu.mairie a.bloc-type span.wrapper h4 {
        color: #74B9FD;
    }

    .menu.vivre .container-fluid .row {
        background: var(--vivre);
    }

    .menu.vivre a.bloc-type span.wrapper h4 {
        color: var(--vivre);
    }

    .menu.vivre a span.icon {
        background: #c65958;
    }

    section.menu.vivre a span.text {
        background: rgba(0, 0, 0, .1);
    }

    .menu.vivre a:hover span.text {
        background: #d24a49;
    }

    .menu.decouvrir .container-fluid .row {
        background: var(--decouvrir);
    }

    .menu.decouvrir a.bloc-type span.wrapper h4 {
        color: var(--decouvrir);
    }
    
    .menu.decouvrir a span.icon {
        background: var(--decouvrir);
    }

    .menu.vivre a span.icon, section.menu.decouvrir a span.icon {
        background-size: 28px auto !important;
    }

    .menu.decouvrir a span.text {
        background: rgba(0, 0, 0, .1);
    }

    .menu.decouvrir a:hover span.text {
        background: #199f73;
    }

    a.bloc-type .wrapper, .bloc-type .wrapper {
        display: block;
        background: #fff;
        padding: 20px;
        text-align: center;
    }
}

@media screen and (min-width: 1921px) {
    header {
        padding: 0 15%
    }
}

@media screen and (min-width: 2500px) {
    header {
        padding: 0 20%
    }
}