/**
* Theme Name: MyTheme
 */

/* Définir le style CSS principal (font-face, menu, body etc.) */
body{
    font-family: Roboto,Arial, Helvetica, sans-serif;
}
/* ----------------
   Contenu Responsive
 ---------------- */
@media screen and (min-width: 992px){
    .container{
        /*margin-top: 20em;*/
        z-index: 50;
    }
}
@media screen and (min-width: 768px) and (max-width: 992px){
    .container{
        z-index: 50;
        max-width: 90%;
    }
}
@media screen and (max-width: 768px){
    .container{
        z-index: 50;
        max-width: 90%;
    }
}



/* ----------------
    EN TETE
 ---------------- */


h1 {
    font-size: 3.125em;
    color: white;
    font-family: Roboto,Arial, Helvetica, sans-serif;
    margin-top: 2em;
    text-transform: uppercase;
	text-align: center;
}

hr {
    background-color: #F1B847;
    width: 15em;
    height: 0.15em;
    border-radius: 10px;
    margin-top: 2em;
    border: none;
	opacity: inherit !important;

}

.img-header{
	width:100%;
	height: 70vh;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	display: flex;
	background-size: cover;
}
@media screen and (min-width: 768px) and (max-width: 992px){
	.img-header{
		height: 40vh;
	}
}
@media screen and (max-width: 768px){
	.img-header{
		height: 20vh;
	}
}


/* ----------------
    CONTENU
 ---------------- */

div.img-fluid figure>img{
    max-width: 100%;
    height: auto;
}
figure.img-fluid img{
    max-width: 100%;
    height: auto;
}

.text-responsive {
  font-size: calc(100% + 1vw + 1vh);
}

.container h2{
    font-size: 1.875em;
    margin-bottom: 0.5em;
    text-transform: uppercase;
}

.container blockquote{
    border-left: 8px solid #F1B847;
    margin: 0;
    padding-left: 1em;
    padding-top: 0.05em;
    padding-bottom: 0.05em;
}

.wp-block-column p{
    text-align: justify;
}

/* ----------------
   Menu
 ---------------- */

.menu {
    /*
    width: 80%;
    margin: auto;

     */
    box-shadow: rgb(149 157 165 / 20%) 0px 8px 24px;
    background-color: white;

    /*
    position: fixed;
    left: 10%;
    top: 2em;
    */

   /* border-bottom: 4px solid #f0f0f0;*/
}
.menu>.row{
	margin:0;
}

.img-logo-w1{
	display: inline-block;
}

.logo{
	text-align: center;
	display: inline-block;
	position: absolute;
	right: 0.5%;
    /*
    margin-top: 1.1em;
    margin-bottom: 1.1em;

     */
}

@media screen and (max-width: 991px){
	.logo{
		text-align: left;
	}
}

nav>div.container-fluid{
	/*width: inherit !important;*/
}

#menu_mobile>i{
    font-size: 2em;
    /*color: #918170;*/
    color: #000;
}

#menu_mobile>span{
    color: #918170;
    font-size: 3em;
}
/* Boutons */
#navbar_main{
    padding: 0;
}
#navbar_main>.container-fluid, li.nav-item{
    height: 100%;
    width: 100%;
}
ul.navbar-nav{
    margin: 0;
    height: 100%;
	width: 100%;
	margin-left: auto;
    margin-right: auto;
}
.nav-link{
    height: 100%;
    padding-top: 2.5em;
	text-align: center;
}
@media screen and (max-width: 991px){
	.nav-link{
		text-align: left;
	}
}
.nav-item.active{
    border-bottom: 3px solid #918170;
}

.active, .dot:hover {
    background-color: inherit !important;
}

/* Canvas Menu Mobile */
body.offcanvas-active{
    overflow:hidden;
}
.offcanvas-header{ display:none; }
.screen-darken{
    height: 100%;
    width:0%;
    z-index: 300;
    position: fixed;
    top: 0;
    right: 0;
    opacity:0;
    visibility:hidden;
    /*background-color: rgba(34, 34, 34, 0.6);*/
    background-color: rgba(255, 255, 255, 0.95);
    transition:opacity .2s linear, visibility 0.2s, width 2s ease-in;
}

.screen-darken.active{
    z-index:100;
    transition:opacity .3s ease, width 0s;
    opacity:1;
    width:100%;
    visibility:visible;
}
a.nav-link{
    text-transform: uppercase;
    font-family: 'Roboto', sans-serif;
    color: #777 !important;
    font-weight: bold;
    /*font-size: 0.8em;*/
}
a.nav-link:hover{
    color: #918170 !important;
}
li.nav-item:hover{
    background-color:#F0F0F0 ;
}

/* Dopdown */
.dropdown-menu{
    border: 4px solid #f0f0f0;
}
.dropdown-item{
    padding: 0;
    margin: 0.3em 1em;
    border-bottom: 1px solid #cccccc;
    width: calc(100% - 1em); /* 100% du conteneur (li) moins la taille de la marge */
    color: #777 !important;
    padding-bottom: 0.5em;
}
.dropdown-item:hover{
    color: #918170 !important;
    background: none;
}

/* ============ Hover CSS sur le dropdown ============ */
@media all and (min-width: 992px) {
    .navbar .nav-item .dropdown-menu{ display: none; }
    .navbar .nav-item:hover .nav-link{   }
    .navbar .nav-item:hover .dropdown-menu{ display: block; }
    .navbar .nav-item .dropdown-menu{ margin-top:0; }
}

/* ============ mobile view ============ */
@media all and (max-width: 991px) {

    .offcanvas-header{ display:block; }

    .mobile-offcanvas{
        visibility: hidden;
        transform:translateX(-100%);
        border-radius:0;
        display:block;
        position: fixed;
        top: 0; left:0;
        height: 100%;
        z-index: 1200;
        width:80%;
        overflow-y: scroll;
        overflow-x: hidden;
        transition: visibility .3s ease-in-out, transform .3s ease-in-out;
    }

    .mobile-offcanvas.show{
        visibility: visible;
        transform: translateX(0);
    }
    .mobile-offcanvas .container, .mobile-offcanvas .container-fluid{
        display: block;
    }

    ul.navbar-nav{
        height: initial;
    }

    /* Dans le menu mobile pas d'affichage de sous menu car lien direct vers la page d'entité*/
    .dropdown-toggle::after {
        display: none;
    }
    .navbar .nav-item:hover .dropdown-menu{ display: none; }

}



/* ----------------
    Scroll Back to TOP
 ---------------- */
#scroll {
    position:fixed;
    right:10px;
    bottom:20px;
    cursor:pointer;
    width:40px;
    height:40px;
    background: rgba(0,0,0,0.81);
    text-indent:-9999px;
    display:none;
    z-index: 100;
}
#scroll span {
    position:absolute;
    top:50%;
    left:50%;
    margin-left:-8px;
    margin-top:-12px;
    height:0;
    width:0;
    border:8px solid transparent;
    border-bottom-color:#ffffff;
    transition: all 150ms linear;
}
#scroll:hover {
    opacity: 0.8;
}



/* ----------------
    Footer
 ---------------- */
footer {
    background: #E2E2E2;
    display: flex;
    flex-direction: column;
    align-items: center;
	margin-top: 5em;
}

footer>div{
	text-align: center;
}

footer img.logo {
    width: 80%;
    height: 20em;
	margin-left: auto;
	margin-right: auto;
	
}

footer img.social {
    width: 1.5em;
    height: 1.5em;
    margin-bottom: 2em;
}

footer div.links {
    display: flex;
    justify-content: space-evenly;
    width: 100%;
	border-bottom: 1px solid black;
}

.links a {
    text-decoration: none;
    color: black;
}

footer hr {
    border: none;
    background: black;
    width: 70%;
    height: 0.1em;
    margin: 1em 0;
}

.logo-footer{
	width: 80%;
    margin: 1em auto;
}


