:root
{
    --carouselcontrol:#3c6306;
    --carousel-gallery-caption:#ffffff;
}


/** iframe content **/ 

/** fin iframe content **/

html 
{
    position: relative;
}

body {
    font-family: 'Roboto', 'Open Sans', sans-serif;
    margin:0;
    padding:0;
    box-sizing: border-box;
   
}

@font-face {
    font-family: "Portia";
    src: url("fonts/portia.ttf");
  }


h1
{
    font-family: "Portia"; 
}

a
{
    transition:0.5s all;
}


/*** marqueur de map ***/

.mapMarker .card
{
    border:1px solid grey;
    width:100px;
    padding:5px;
    display:none;
    
}

/** header de page interne **/

.head-block-view-image
{
    position:relative;
    margin-left:50px;
}

.head-block-view-image::before
{
    content:"";
    position:absolute;
    top:0;
    left:0;
    height:50px;
    width:50px;


}

.head-block-view-image img
{
 margin-left:50px;
 margin-top:20px;
 padding:2px;

}


.breadcrumb li a
{
    color:#3c6306;
   text-shadow:0px 0px 0px black;
   text-decoration: none;
}


.nextLevel > li >  a
{
    text-decoration: none; 
    
}

#contenu .chap a
{
    /*color:inherit;*/
}

/*#contenu .corpsTexte  a,*/#s-orki-edito a{
    position: relative;
    transition: 0.5s all;
    text-decoration: none;
    width: fit-content;

}

/*#contenu  .corpsTexte  a::after,*/#s-orki-edito a::after {
   content:"";
   position:absolute;
   bottom:0;
   left:0;
   height:2px;
   width: 0%;
   background: #3c6306;
   margin-bottom: -3px;
   transition:1s cubic-bezier(0.075, 0.82, 0.165, 1);
}

/*#contenu  .corpsTexte  a:hover::after ,*/#s-orki-edito a:hover::after
{
 
   width: 100%;
  
}


#contenu h4 {
    position: relative;
    transition: 1s all;
    width: fit-content;
}

#contenu h4::before {
    transition: 1s all;
   
  }

#contenu a:hover > h4::before {
  font-size: 80%;
 
}



/*
#contenu h4::after {
    position: absolute;
    bottom: 0;
    left: 0;
    content: "";
    height: 2px;
    background: #98AF47;
    width: 100%;
    transition: 1s all;
    margin-left: 15px;
}

#contenu a:hover h4::after
{
    position:absolute;
    bottom:-5px;
    left:0;
    content:"";
    height:3px;
    width:100%;
    background: #98AF47;
}
*/

.required
{
    color:red;
}


/*** numero tel en xs haut de page ***/

#section_tel
{
    background: #222222;
  
}

#section_tel div p
{
    
    margin-top:1rem;
}

#section_tel div p a
{
color:#fff;
text-decoration: none;
font-size:x-large;
}


/***** news list  ****/
#s-news h2
{
    margin:0;
}

/******************/

#paragraphe #s-gallery
{
    flex-wrap: wrap;
}

#paragraphe
{
margin-bottom:20px;

}

#paragraphe .carousel
{
    width:100%;
    position:relative;
}

#paragraphe .row
{
    
    position:relative;
}

#paragraphe .carousel-control-next,#paragraphe .carousel-control-prev {
position:absolute;

}

#paragraphe .carousel-control-prev-icon,#paragraphe .carousel-control-next-icon
{
    filter: invert(1);
}


#paragraphe div.carousel-item > img
{
    width:50%;
    height:50%;
    object-fit: cover;
    transform:translate(50%,0);
}
/**** carousel ****/

.carousel-control-prev,.carousel-control-next
{
  color:var(--carouselcontrol);
}

/**** header ****/
.header
{
position:relative;
background-image:url('../images/home/bgHeade_2023_ter.jpg');
width:100%;
background-repeat: no-repeat;
background-size: cover;
background-position: center;
height:70vh;
}

/** titre de page **/

.slogan 
{
    position: absolute;
    left:0;
    top:0;
    height:100%;
    width:100%;
    display:flex;
    align-items: center;
    justify-content: center;
}

.slogan a{
    text-decoration: none;
    align-self: start;
    transform: translate(25%,70px);
}

.slogan a h1
{
    letter-spacing: 1px;
    text-shadow: 
    1px 1px 0px black;
    font-size:4.8em;
}

.slogan h1::after
{
    content:"";
    position:absolute;
    top:50%;
    left:25%;
    margin-top:20px;
    width:50%;
    height:3px; 
}

.slogan a h2
{
    letter-spacing: 1px;
    text-shadow: 1px 1px 0px black;
    font-weight:normal;
    font-style: italic;
    font-size:1.5em;
    text-align: center;
}



/** zone social et search **/

#social
{
   z-index:5;
   margin-top:10px;
}

#social a,#social a i
{
    padding:5px;
    transition:0.2s all  
}


.social-search
{
    position:relative;
}

.social-search input
{
margin-top:5px;
}

.social-search i
{
position:absolute;
top:15px;
right:20px;
}


.icon::before {
    /* removed font- based rules */
    display: inline-block;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
  }


/**** navbar ****/

#MenuWrapper 
{
    border-bottom:20px solid #f7e3cb
}

#MenuDIV li
{
margin:0;
padding:0;
text-align: left;

}

#MenuDIV li a
{
    font-weight: bolder;

}


.menu-niv1 li 
{
    list-style-type:none !important;
    font-weight: bolder;
  
}

.menu-niv1 li ul
{

    padding-top:0 !important;
    padding-bottom:0 !important;
}

.menu-niv2 li 
{
    list-style-type:none !important;
    font-weight: normal !important;
  
}

.menu-niv2 .nav-link
{
 padding:5px !important;
  
}

.menu-niv2 li a
{ 
    
    font-weight: normal !important;
  
}

.dropdown-menu
{
    min-width:100%;
}

.navbar-nav li
{
   text-align: center;
   font-weight: bolder;
}


.menu-niv2 li a
{
    list-style-type: none;
    padding-left:10px;
  
}

.dropdown-menu , .menu-niv2 .dropdown-menu {
    min-width:inherit;
}


/*** positionnement des sous menus **/
.menu-niv1 li
{
position:relative;
text-align: left;
}

.menu-niv1 li a,.menu-niv2 li a,.menu-niv3 li a
{
padding-left:10px;
}
.menu-niv1 li:hover > .submenu
{
    display:block;
}


.menu-niv2 li
{
position:relative;
text-align: left;
width: auto;
}

.menu-niv2 li a
{
padding-left:10px;
}

.menu-niv2 li:hover > .submenu
{
    display:block;
}

.submenu
{
    display:none;
    left:100%; 
    top:0px;
    width:max-content
   
}

.submenu ul
{
    position: absolute; 
    left:100%; 
    top:0px;
    padding:10px;
    width:max-content 
}

.submenu ul li
{
    margin:30px;
    padding:30px;
    width:max-content
}
/*** fin positionnement des sous menus **/

/*** fin navbar **/ 

/**** bloc de droite dans les pages ***/

.rightColumn 
{
    padding-top: 50px!important;
}

.accordion-button:focus
{
box-shadow: 1px 1px 1px 1px grey;
}


.accordion-item:not(:first-of-type)
{
    border: 1px solid lightgray;
    border-radius: 5px 5px 0 0 ;
}

/** zone de focus **/ 

#contenu .focus a {
    color: #000 !important;
    text-decoration: none;
}

/** fin zone de focus **/

/***** pagination *****/
.pager 
{
    display:flex;
    align-items: center;
    justify-content: center;
}

.pager .pagination li
{
    margin-left:5px;
    margin-right:5px;
    font-weight: bolder;
}

.pager .pagination li a
{
    font-weight: 900;
}

/**** fil d'ariane ***/

.filAriane
{
    margin-left: 15px;
}

.content h2
{
    margin-left: 15px;
}

.content h2::first-letter
{
    text-transform: capitalize;
}

.filAriane li a
{
    font-weight: bold;
    
}
/* navigation */
.menuNiv1>a, .menuNiv2>a
{

    font-size: 0.9em;
}

.menuChild>li{
    text-decoration: none;
    list-style: none;
}


.breadcrumb  > li
{
margin-top:10px;
padding-right:5px;
}

.breadcrumb > li:first-child:before
{
content:"";
text-decoration: none;
}


.breadcrumb > li::before
{
content:" > ";
text-decoration: none;
}

/***** card des pages *****/

.card-body h2
{
    margin:0;
    margin-bottom:10px;
}
   
/**** footer ***/

footer
{
  
    display:flex;
    align-items: center;
    justify-content: center;
    padding-top:20px;
    padding-bottom:20px;
}

footer a
{
    transition:0.2s all;
    text-decoration: none;
}

footer p
{
    text-align: center;
}

footer a .menuitem
{
    text-transform: uppercase;
}

/* Magnific-Popup */
.mfp-container {
    text-align: center;
    position: absolute;
    width: 60%;
    height: 100%;
    left: 20%;
    top: 0;
    padding: 0 8px;
    box-sizing: border-box;
}


/** SPECIFIQUES **/ 

/** sitemap **/

#s-sitemap li a
{
color:#000;
}

#s-sitemap .lvl1 a
{
font-weight:bolder;
font-size: larger;
}

/** formulaire de contact **/
.captcha
{
    display:flex;
    align-items:center;
    justify-content:space-between;
}

#c-information .thumbnail .image a 
{
object-fit:contain;
display:flex;
align-items: center;
justify-content: center;
text-align: center;


} 

#c-information .thumbnail .image a img
{
aspect-ratio: 1/1;
} 

.adminmsg table td
{
    border-bottom:none!important;
}

/*** link page ****/ 

#s-orki-edito img
{
    margin-left:50px;
    padding:2px ; 
}

#s-orki-edito .edito-image
{
  position:relative;
  margin-left:50px;
  margin-bottom:10px;
}

#s-orki-edito .edito-image::before
{
    content:"";
   position:absolute;
    height:50px;
    width:50px;
    

}


#page-link-nextLevel ul li
{
margin:5px;
}

/***************** agenda *******************/

.agenda h2
{
    margin-bottom:10px;
}

.agenda .equal
{
    padding-top:10px;
    padding-bottom:10px;
    border-radius:5px;
    box-shadow: 1px 1px 5px gray;
    background: #ffffff;
   
}

.agenda .c-agenda-date
{
    color:#000;
    font-weight: bolder;
    font-size: larger;
    border-radius:5px 0 0 5px  ;
}

.agenda .c-agenda-day
{
    font-size:400%;
    filter:invert(1);
}



.agenda .c-footer a ,.actus-links .c-footer a,.agenda .c-footer a:not(.manage)
{
position:relative;
color:black;
border-radius: 5px;
text-decoration: none;
font-weight: bolder;
padding:20px;
letter-spacing: 1.5px;
margin:5px;
transition:1s all cubic-bezier(0.165, 0.84, 0.44, 1);
}

.agenda .c-footer a.manage
{
    position:relative;
   
    border-radius: 5px;
    text-decoration: none;
    font-weight: bolder;
    padding:0px;
    letter-spacing: 1.5px;
    margin:5px;
    transition:1s all cubic-bezier(0.165, 0.84, 0.44, 1);
}
    
/*
.agenda .c-footer a:hover,.actus .c-footer a:hover,#c-agenda .c-footer a:not(.manage):hover
{
    color:#000;
}
*/
.agenda .c-footer a::before,.actus .c-footer a::before,#c-agenda .c-footer a:not(.manage)::before
{
content:"";
position:absolute;
top:0;
left:5px;
transform:translateY(80%);
transition:1s all cubic-bezier(0.25, 0.46, 0.45, 0.94);

}

.agenda .c-footer a::after,.actus .c-footer a::after,#c-agenda .c-footer a:not(.manage)::after
{
content:"";
position:absolute;
top:0;
right:5px;
transform:translateY(80%);
transition:1s all cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.agenda .c-footer a:hover::before,.actus .c-footer a:hover::before,#c-agenda .c-footer a:not(.manage):hover::before
{
content:"|";
}

.agenda .c-footer a:hover::after,.actus .c-footer a:hover::after,#c-agenda .c-footer a:not(.manage):hover::after
{
    content:"|";
}

.agenda .c-footer a p, #c-agenda .c-footer a:not(.manage) p
{
    display:inline;
   
}

.agenda .c-agenda-title
{
    text-transform: uppercase;
}

.agenda .c-footer
{
    display:flex;
    align-items: center;
    justify-content: center;

}

#c-agenda
{
  
    margin-right: 0;
}

#c-agenda .c-footer
{
    padding:20px;
    margin-right: 0;
}

/** fin agenda **/




/**** formulaire de contact ****/ 

#s-forms #doc-content
{
    margin:0;
    padding:0;
}

#s-forms-table .form-group
{
    margin-left:40px;

}

#s-forms-table :nth-child(n)
{
    
    padding:5px;

}


#s-forms-table .submit
{
    margin-top:20px;
    display: flex;
    align-items: center;
    justify-content: center;
    
}

#s-forms-table .submit button:hover
{
color:#000;
    
}






/*************************** MEDIA QUERIES ******************************/ 
/**
  __  __          _ _                               _           
 |  \/  |        | (_)                             (_)          
 | \  / | ___  __| |_  __ _    __ _ _   _  ___ _ __ _  ___  ___ 
 | |\/| |/ _ \/ _` | |/ _` |  / _` | | | |/ _ \ '__| |/ _ \/ __|
 | |  | |  __/ (_| | | (_| | | (_| | |_| |  __/ |  | |  __/\__ \
 |_|  |_|\___|\__,_|_|\__,_|  \__, |\__,_|\___|_|  |_|\___||___/
                                 | |                            
                                 |_|                            
**/
/* Bootstrap Media Queries override */

/**
_____ ______ ___  
| ____|____  / _ \ 
| |__     / / (_) |
|___ \   / / > _ < 
 ___) | / / | (_) |
|____/ /_/   \___/ 
                   
                  
**/
@media screen and (min-width: 200px ) and (max-width : 300px) {


    .header
    {
        background-image:url('../images/home/bgHeade_2023_responsivenoh1.jpg');
        background-size:cover;
        height:40vh;
        background-position: 25% 10%;
    }

    .slogan a{
        text-decoration: none;
        align-self: start;
        transform: translate(20px,50px);
    
    }

     .slogan a h1 
   {
        font-size: 1.8em;
        text-align: center;
        text-shadow: 0px 0px 0px black;
        word-wrap: wrap;
    }

        .slogan a h2
    {
       display:none;
    }

    .slogan a h1::after
    {
        content:"";
        position:absolute;
        top:50%;
        left:25%;
        margin-top:5px;
        width:50%;
        height:3px;
        background-color: var(--h1);
    }

    #social
    {
        position: absolute;
        top:0;
    }

    .social-links
    {
        display:none;
    }


    #s-news .image
    {
        text-align: center;
        margin-bottom:10px;
    }
    
    
    
    }


@media screen and (min-width: 300px ) and (max-width:578px) {

    /*** header ***/

    .header
    {
        background-image:url('../images/home/bgHeade_2023_responsivenoh1.jpg');
        background-size:cover;
        height:40vh;
        background-position: 25% 10%;
    }

    .slogan a{
        text-decoration: none;
        align-self: start;
        transform: translate(0,60px);
    
    }

     .slogan a h1 
   {
        font-size: 1.6em;
        text-align: center;
        text-shadow: 0px 0px 0px black;
        word-wrap: wrap;
    }

        .slogan a h2
    {
     display:none;
    }

    .slogan a h1::after
    {
        content:"";
        position:absolute;
        top:50%;
        left:25%;
        margin-top:5px;
        width:50%;
        height:3px;
        background-color: var(--h1);
    }

    #social
    {
        position: absolute;
        top:0;
    }

    .social-links
    {
        display:none;
    }


    #s-news .image
    {
        text-align: center;
        margin-bottom:10px;
    }

}



/** ._________________  ______            _________  ________  ______  
 |   ____/\______  \/  __  \  _____    \______  \/  _____/ /  __  \ 
 |____  \     /    />      <  \__  \       /    /   __  \  >      < 
 /       \   /    //   --   \  / __ \_    /    /\  |__\  \/   --   \
/______  /  /____/ \______  / (____  /   /____/  \_____  /\______  /
       \/                 \/       \/                  \/        \/ 
       **/
@media screen and (min-width: 578px ) and (max-width : 768px) {


    .actus
    {
        flex-direction: column;
    }

     /*** header ***/

     .header
     {
         background-image:url('../images/home/bgHeade_2023_responsivenoh1.jpg');
         background-size:cover;
         height:50vh;
         background-position: 25% 0%;
     }
 
 
 
    .slogan a{
        text-decoration: none;
        align-self: start;
        transform: translate(5%,50px);
    }
 
 
    .slogan a h1 
    {
        font-size: 2.5em;
        text-align: center;
        text-shadow: 0px 0px 0px black;
    }
    
    .slogan a h1::after
    {
        content:"";
        position:absolute;
        top:50%;
        left:25%;
        margin-top:5px;
        width:50%;
        height:3px;
        background-color: var(--h1);
    }
        
        .slogan a h2
    {
        letter-spacing: 1px;
        text-shadow: 0px 0px 0px black;
        font-weight:normal;
        font-style: italic;
        font-size:1em;
        
        text-align: center;
    }
    

 
     #social
     {
         position: absolute;
         top:0;
     }
 
     .social-links
     {
         display:none;
     }  
   
}

@media screen and (max-width : 768px) {

/* Magnific-Popup */
.mfp-container {
    text-align: center;
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    left: 0%;
    top: 0;
    padding: 0 8px;
    box-sizing: border-box;
}

}


/**
_________  ________  ______             ________  ________  ____ 
\______  \/  _____/ /  __  \  _____    /   __   \/   __   \/_   |
    /    /   __  \  >      <  \__  \   \____    /\____    / |   |
   /    /\  |__\  \/   --   \  / __ \_    /    /    /    /  |   |
  /____/  \_____  /\______  / (____  /   /____/    /____/   |___|
                \/        \/       \/                          
**/
@media screen and (min-width: 768px ) and (max-width : 991px) {


    .actus
    {
        flex-direction: column;
    }

     /*** header ***/

     .header
     {
         background-image:url('../images/home/bgHeade_2023_responsivenoh1.jpg');
         background-size:cover;
         height:65vh;
         background-position: 0% 0%;
     }
 
 
 
    .slogan a{
        text-decoration: none;
        align-self: start;
        transform: translate(10%,100%);
    }
    
    
    .slogan a h1 
    {
        font-size: 3.2em;
        text-align: center;
        text-shadow: 0px 0px 0px black;
    }
    
    
        .slogan a h2
    {
        letter-spacing: 1px;
        text-shadow: 0px 0px 0px black;
        font-weight:normal;
        font-style: italic;
        font-size:1em;
        text-align: center;
        margin-top:20px;
    }
    
    .slogan a h1::after
    {
        content:"";
        position:absolute;
        top:50%;
        left:25%;
        margin-top:10px;
        width:50%;
        height:3px;
        background-color: var(--h1);
    }
 
     #social
     {
         position: absolute;
         top:0;
     }
 
     .social-links
     {
         display:none;
     }
  

}

@media screen and (min-width: 991px ) and (max-width : 1200px) {

    .slogan a{
        text-decoration: none;
        align-self: start;
        transform: translate(20%,60%);
    }

    .slogan a h1
    {
    
        font-size:3.8em;
    }
    
    
    
    }


@media screen and (min-width: 1200px ) and (max-width : 1400px) {


    .slogan a{
        text-decoration: none;
        align-self: start;
        transform: translate(20%,60%);
    }

    .slogan a h1
    {
        font-size:3.9em;
    }



}