/*
Site: 		
Url: 		
Autor: 		MonWebPro.com
Version: 	
*/

@font-face {
	font-family: 'icomoon';
	src:  url('fonts/icomoon.eot?b2om2p');
	src:  url('fonts/icomoon.eot?b2om2p#iefix') format('embedded-opentype'),
	url('fonts/icomoon.ttf?b2om2p') format('truetype'),
	url('fonts/icomoon.woff?b2om2p') format('woff'),
	url('fonts/icomoon.svg?b2om2p#icomoon') format('svg');
	font-weight: normal;
	font-style: normal;
	font-display: block;
}
.icon {
	font-family: 'icomoon';
}

html, body {
	width: 100%;
	height: 100%;
}
div.clearboth {
	width: 100%; 
	height: 0;
	clear: both; 
	float: none;
}

/* HEADER */
header {
	width: 100%;
    height: 80px;
    font-family: "Montserrat", sans-serif;
    padding: 15px;
    position: fixed;
    z-index: 99;
    top: 0;
    left: 0;
    z-index: 10;
    transition: 0.5s;
}
header a.mini {
    display: none;
}

header.white { background: rgba(255, 255, 255, 0.0); }
header.black { background: rgba(0, 0, 0, 0.0); }
header div.logo {
    display: inline-block;
    width: 300px;
    height: 50px;
    position: relative;
    margin: 0;
    color: #000;
}
header div.logo a {
    display: inline-block;
    height: 50px;
}
header div.logo svg {
    height: 50px;
    width: auto;
    fill: #000;
    fill: #fff;
}
header div.logo strong {
    width: 240px;
    height: 50px;
    width: auto;
    position: absolute;
    top: 0;
    left: 60px;
    line-height: 16px;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    color: #fff;
}
header.mini div.logo,
header.mini div.logo svg {
    height: 40px;
}
header.mini div.logo strong {
    width: 180px;
    height: 40px;
    left: 45px;
    line-height: 14px;
    font-size: 12px;
    display: block;
    display: none;
}
.ueemf-home {
    position: absolute; top: 80px; 
    left: calc(100% - 824px); height: 30px; line-height: 30px; background: #fff;
    display:inline-block; margin-left:.5rem; padding: 0 20px; 
    border-radius:999px; border:1px solid #fff; font-size:.9rem;
    text-decoration:none; opacity:.85; transition:opacity .2s; color: #fff; color: #000;
  }
  .ueemf-home span { display: inline-block;  margin-right: 5px; }
  .ueemf-home:hover { opacity:1 }


header nav {
    position: absolute;
    top: 0;
    right: 5px;
    height: 80px;
}
header nav ul {
    width: auto;
    height: 80px;
    display: grid;
    grid-template-columns: repeat(6, auto);
    margin: 0;
    padding: 0;
    list-style: none;
}
header nav ul li {
    width: auto;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}
header nav ul li a {
    display: block;
    height: 20px; 
    line-height: 20px; 
    padding: 0 30px;
    text-decoration: none;
    font-size: 1.2em;
    color: #000;
    border-right: solid 1px #000; 
    transition: 0.5s;
}
header nav ul a.active { 
    color: #6588a6; 
    color: #fff; 
    text-shadow: 0 0 1px #FFF, 
        0 2px 2px rgba(101, 136, 166, 0.8), 
        0 0 10px rgba(0, 0, 0, 0.8); 
    border-right: solid 1px #000; 
}
header nav ul a:hover { 
    color: #fff; 
    text-shadow: 0 0 2px #FFF, 
        0 0 4px rgba(0, 0, 0, 0.8); 
    transition: 0.5s;
    border-right: solid 1px #000; 
}
header nav ul li:nth-child(5) a,
header nav ul li:nth-child(6) a,
header.mini nav ul li:nth-child(5) a,
header.mini nav ul li:nth-child(6) a {
    border-right: none;
}
header nav ul li:nth-child(6) a {
    height: 40px; 
    line-height: 40px; 
    transform: translateY(-10px); 
}
/*
header nav ul li:last-child a {
    background: #fff;
}
*/

header.mini {
    height: 50px;
    padding: 5px;
    transition: 0.5s;
    background: rgba(0, 0, 0, .9);
    box-shadow: 0 0 3px 1px rgba(0, 0, 0, 0.2);
}

header.mini h1 {
    height: 50px;
}
header.mini svg {
    height: 40px;
}
header.mini h1 strong {
    display: none;
}
header.mini nav {
    top: 15px;
    height: 40px;
    top: 5px;
}
header.mini nav ul,
header.mini nav ul li {
    height: 40px;
}
header.mini nav ul a {
    color: #fff;
    border: none;
}
header.mini nav ul a.active {
    color: #6588a6;
    border-right-color: #fff;
    text-shadow: none;
}
/*
header.mini nav ul li:last-child a {
    background: rgba(101, 136, 166, 1);
}
*/


header div.eglises {
    position: fixed;
    z-index: 999999999;
    top: 75px;
    left: 0;
    width: 100%;
    height: auto;
    background: #fff;
    padding: 60px;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 10px;
    box-shadow: 5px 5px 10px 1px rgba(0, 0, 0, .3);
}
header.mini div.eglises {
    top: 48px;
}
header ul li:nth-child(2) div.eglises {
    display: none;
    opacity: 0;
    transition: 3s;
}
header ul li:nth-child(2):hover div.eglises {
    display: grid;
    opacity: 1.0;
    transition: 3s;
}
header div.eglises div.eglise {
    cursor: pointer;
    height: 100px;
    display: block;
}
header div.eglises div.eglise a {
    font-size: 1em;
    transition: 0.5s;
    border: none;
    color: #fff;
    width: 100%;
    height: 100%;
    display: flex;
    text-align: center;
    align-items: center;
    justify-content: center;
}
header div.eglises div.eglise:hover a {
    font-size: 1.5em;
    transition: 0.5s;
}

/*** MAIN ***/
main {
    width: 100%;
    font-family: "Montserrat", sans-serif;
    position: relative;
    z-index: 0;
}

div.header h1 {
    color: #000;
    background: linear-gradient(
        0deg,
        rgba(255, 255, 255, 0) 30%,
        rgba(255, 255, 255, 1) 80%
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 500% auto;
    animation: degrade 1s forwards;
    font-weight: bolder;
    font-family: "Montserrat", sans-serif;
}
div.header h1 strong {
    font-weight: bolder;
}
@keyframes degrade {
    0% {
        opacity: 0;
        background-position: 0% 50%;
        transform: translateY(100px);
    }
    40% {
        opacity: 0;
    }
    100% {
        opacity: 1;
        background-position: 100% 50%;
        transform: translateY(0px);
    }
}

h2.partenaires {
    font-size: 1.5em;
    color: #000;
}
p.old {
    width: 100%;
    text-align: center;
    line-height: auto;
    height: auto;
}
p.old a {
    box-shadow: 1px 1px 4px 1px rgba(0,0,0,0.5);
    display: inline-block;
    color: #000;
    color: #6588a6;
    background:#baaa83;
    color: #fff;
    padding: 5px 20px;
    border-radius: 8px;
    font-size: 2em;
    font-weight: bolder;
    text-decoration: none;
    line-height: auto;
    height: auto;
}
div.old p.old a {
    box-shadow: none;
    display: block;
    width: 100%;
    border-radius: 0;
}

section.partenaires {
    padding: 50px;
    background: #fff;
    height: auto;
}
h3.partenaires,
h2.partenaires {
    color: #000;
    text-align: center;
    margin: 0;
    padding: 0;
    line-height: 50px;
    height: 50px;
}
div.partenaires {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    margin: 30px 0;
    grid-gap: 5px;
    padding: 30px 100px;
}
div.partenaires div.partenaire {
    cursor: pointer;
    margin: 15px 0;
}
div.partenaires div.partenaire:hover {
    cursor: pointer;
    box-shadow: 0 0 5px 1px rgba(0, 0, 0, 0.2);
}
div.partenaires div.partenaire div.image {
    height: 125px;
    display: flex;
    align-items: center;
    justify-content: center;
}
div.partenaires div.partenaire div.image img {
    width: auto;
    height: 125px;
    display: block;
}
div.partenaires div.infos {
    height: 125px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    text-align: center;
}
div.partenaires div.infos a {
    color: #000;
    text-decoration: none;
}

/*** FOOTER ***/
footer {
	width: 100%;
    font-family: "Montserrat", sans-serif;
    display: block;
    background: #fff;
    padding: 0 0 0 0 ;
    background: #333;
}
footer div.verset {
	width: 100%;
    color: #fff;
    text-align: center;
    padding: 60px;
}
footer p.verset {
	font-weight: 700;
    font-size: 1.5em;
    font-style: italic;
    margin: 0;
    padding: 0;
}
footer p.ref {
    font-size: 1.2em;
    margin: 0;
    padding: 0;
}
footer div.main {
    width: auto;
    max-width: 1200px;
    margin: 0 auto;
    display: grid; 
    grid-template-columns: repeat(3, 1fr);
    padding: 30px 10px;
    border-top: solid 1px rgba(255, 255, 255, 0.05);
}
footer div.logo {
    display: flex;
    align-items: center;
    justify-content: center;
}
footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
footer ul.eglises li {
    text-align: right;
}
footer li.head {
    color: #baaa83;
    font-weight: bold;
    margin-bottom: 30px;
}
footer li a {
    color: #fff;
    text-decoration: none;
    text-transform:capitalize;
}
footer div.main div.logo svg {
    width: 150px;
    height: 150px;
    fill: rgba(255, 255, 255, 0.1);
    transition: 1s;
}
footer div.main div.logo:hover svg {
    fill: rgba(255, 255, 255, 1);
}
footer div.bottom {
    width: 100%;
    border-top: solid 1px rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.4);
    text-align: center;
    padding: 20px;
}
footer div.bottom p,
footer div.bottom a {
    color: rgba(255, 255, 255, 0.4);
    margin: 0;
    padding: 0;
}

@media screen and (max-width: 1220px) {
    header nav ul a {
        padding: 0 25px;
    }
}
@media screen and (max-width: 1170px) {
    header nav ul a {
        padding: 0 20px;
    }
}
@media screen and (max-width: 1110px) {
    header nav ul a {
        padding: 0 15px;
    }
}
@media screen and (max-width: 1092px) {
    div.partenaires {
        grid-template-columns: repeat(4, 1fr);
        padding: 30px;
    }
}
@media screen and (max-width: 1060px) {
    header nav ul a {
        font-size: 0.9em;
    }
}
@media screen and (max-width: 1024px) {
    header nav ul a {
        display: none;
        padding: 0 10px !important;
    }
    .ueemf-home {
        left: calc(100% - 645px);
    }
}
@media screen and (max-width: 890px) {
    .ueemf-home {
        left: 10px;
    }
    header div.logo strong {
        display: none;
    }
}
@media screen and (max-width: 850px) {
    section.partenaires {
        padding: 20px;
    }
    div.partenaires {
        grid-template-columns: repeat(3, 1fr);
        padding: 20px;
    }
}
@media screen and (max-width: 650px) {
    div.header h1 {
        font-size: 5em !important;
    }

    header div.logo {
        z-index: 999;
    }
    header nav, header.mini nav {
        top: 0;
        right: 0;
        width: 100%;
        z-index: 99;
    }
    header nav ul {
        display: none;
        overflow: auto;                 /* demandé */
        -webkit-overflow-scrolling: touch;
    }
    header nav ul li {
        position: relative;
        display: block;
    }

    header a.mini {
        display: flex;
        position: absolute;
        top: 0;
        right: 0;
        width: 80px;
        height: 80px;
        align-items: center;
        justify-content: center;
        color:#fff;
        text-decoration: none;
        font-size: 2.5em;
    }
    header.mini a.mini {
        width: 50px;
        height: 50px;
        font-size: 1.5em;
    }

    header div.eglises {
        position: static;               /* clé: plus de overlay */
        z-index: auto;
        top: auto; left: auto;
        width: 100%;
        padding: 10px 15px;
        background: transparent;
        box-shadow: none;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-gap: 10px;
    }
    header ul li:nth-child(2) div.eglises {
        display: grid;
        opacity: 1.0;
    }
    header nav ul li.open > div.eglises,
    header nav ul li:focus-within > div.eglises {
        display: grid;
    }

    header nav ul {
        display: none;
        width: 100%;
        position: absolute;
        width: 100%;
        height: calc(100vh - 100px);
        top: 100px;
        right: 0;
        background: rgba(255,255,255,0.95);
    }
    header nav ul li {
        width: 100%;
        float: none; 
        clear: both;
        height: auto;
        line-height: 50px;
    }
    header.mini nav ul li a {
        color: #222;
    }
    header nav ul li a, header nav ul a.active {
        height: 50px;
        line-height: 50px;
        padding: 0;
        text-align: center;
        font-size: 1.3em;
        text-shadow: none;
        border: none;
    }
    header nav ul li:nth-child(6) a {
        height: 50px;
        line-height: 50px;
        transform: translateY(0);
    }
    header nav ul a.active {
        color: #800;
    }
    header.mini nav ul {
        height: calc(100vh - 50px);
        top: 50px;
    }
    footer div.main {
        font-size: 0.9em;
    }

    section.partenaires {
        padding: 1cm;
    }
    div.partenaires {
        grid-template-columns: repeat(2, 1fr);
        padding: 10px;
    }
}
@media screen and (max-width: 460px) {
    div.header h1 {
        font-size: 3em !important;
    }
}
@media screen and (max-width: 450px) {
    header div.eglise, 
    header ul li:nth-child(2):hover div.eglises, 
    header ul li:nth-child(2) div.eglises {
        display: block;
        padding: 10px;
    }
    header div.eglises {
        grid-template-columns: repeat(1, 1fr);
    }
    header div.eglises div.eglise {
        margin: 5px 0;
    }

    section.partenaires {
        padding: 5px;
    }
    div.partenaires {
        display: block;
    }

    footer div.verset {
        padding: 10px;
    }
    footer p.verset,
    footer p.ref {
        font-size: 1em;
    }

    footer div.main {
        display: block;
    }
    footer div.logo {
        display: none;
    }
    footer ul.menu li,
    footer ul.eglises li {
        text-align: center;
    }

    footer div.bottom {
        font-size: 0.8em;
    }
}