:root
{
    --orange: #f05f40;
    --bleu: #12a09c;
    /*--NoirBleu : #415164;*/
    --NoirBleu : #e7a991;
}
*{
    box-sizing: border-box; /* force la taille de la box sans padding margin */
}
html
{
    scroll-behavior: smooth;
}
body
{
    margin:0;
    font-family:'Open Sans','Helvetica Neue',Arial,sans-serif;
}
#wrops
{
    margin: auto;
}
a
{
    text-decoration: none;
}
a[href^=tel]
{
    text-decoration:inherit;
    color: inherit;
}
.text-uppercase
{
    text-transform: uppercase;
}
hr{
    width:80px;
    border: 2px solid var(--orange);
    margin-top:15px;
    margin-bottom: 15px;
}
hr.white{
    border: 2px solid white;
}
hr.noirBleu{
    border: 2px solid var(--noirBleu);
}
h2{
    font-size: 1.5em;
}
h3{
    font-size: 1.5em;
}
.gras
{
    font-weight: bold;
}
.noirBleu
{
    color:var(--NoirBleu);
}

h2.text-uppercase{
    margin-bottom: 0;
}
ul
{
    padding-left: 1em;
}
/* 
///////////////////
NAVIGATION BAR 
///////////////////
*/
nav{
    background-color: white;
    color: var(--bleu);
    font-weight:900;
    position: fixed;
    top:0;
    left:0;
    width:100%;
    z-index: 10;
}
#nav-box{
    width:90%;
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    flex-basis: auto;
    margin: auto;
}
.color{
    transition:0.2s;
}
.color:hover{
    color:var(--orange);
}
.orange
{
    color:var(--orange);
}
#navLeft
{
    margin-top : 1em;
    margin-bottom: 1em;
    display: flex;
    flex-flow: row wrap;
    width: 20%;
    justify-content: space-between;
}

nav a{
    color: black;
    font-weight:700;
    font-size: 0.8em;
    padding: 0.8em;
}
#nav2{
    display: flex;
    flex-flow: row wrap;
    align-items: center;
}
.mainBurger{
    position: fixed;
    right:0;
    transform : scaleY(1);
    transform-origin: top;
    transition : transform 0.4s;
    background-color: rgb(253, 251, 251);
    display: flex;
    flex-flow: column wrap;
}
.hiddenBurger{
    transform : scaleY(0);
    transform-origin: top;
    transition : transform 0.4s;
}
#nav-box #burger{
    width : 50px;
    height:40px;
    cursor: pointer;
    display:none;
    flex-flow: column wrap;
    justify-content: space-evenly;
    border : 1px solid black;
    padding-left: 0.5em;
    padding-right: 0.5em;
    margin-top: 0.5em;
    margin-bottom: 0.5em;
}
#nav-box #burger .rec
{
    height : 5px;
    width: 100%;
    background-color: black;
}

@media all and (max-width: 1500px){
    #nav-box{
        width:100%;
        padding-left: 2em;
    }
}
@media all and (max-width:1400px)
{
    #nav-box{
        padding-left: 1em;
    }
    #navLeft span
    {
        margin-left : 0.5em;
    }
    #navLeft
    {
        justify-content: start;
        width: intrinsic;           /* Safari/WebKit uses a non-standard name */
        width: -moz-max-content;    /* Firefox/Gecko */
        width: -webkit-max-content; /* Chrome */
    }
}
@media all and (max-width:1300px)
{
    #navLeft
    {
        flex-flow: column wrap;
    }
}
@media all and (max-width: 1200px){
    #nav-box
    {
        justify-content: space-evenly;
    }
    #nav2
    {
        width:500px;
        justify-content: center;
    }

}
@media all and (max-width: 800px){

    #nav2{
        display: none;
    }
    #nav-box #burger{
        display:flex;
    }

}
@media all and (min-width: 1100px){
    .mainBurger{
        transform : scaleY(0);
        transform-origin: top;
        transition : transform 0.4s;
    }
}

/* 
///////////////////
HEADER
///////////////////
*/
header{
	background-position:center center;
    background-size:cover;
    color:var(--orange);
    height:100vh;
    display: flex;
    flex-flow: row wrap;
    padding-top: 2.8em;
    z-index: 1;
    font-size: 1.5em;
}

#head-box{
    margin: auto;
    text-align: center;
    background-color: rgba(255,255,255,0.7);
    padding: 1em;
}
#head-box p{
    font-weight: bold;
    font-size: 1.2em;
    margin-top: 0.5em;
    margin-bottom: 0.5em;
 }
#head-box a
{
    font-size: ;
}
#head-box p:first-of-type{
    font-size: 2em;
 }
#head-box p:nth-of-type(2){
    font-size: 2em;
 }
#head-box .extra-margin{
    margin-top:1em;
}

@media all and (max-width: 700px){
    header{
        font-size: 1em;
    }
}

@media all and (max-width: 400px){
    header{
        font-size: 1em;
    }
}
/* 
///////////////////
IMAGE
///////////////////
*/
.splide__progress__bar {
    height: 3px;
    background: var(--orange) !important;
  }
/*#portfolio{
    display:-webkit-box;
    display:-ms-flexbox;
    display:flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -ms-flex-line-pack: center;
    align-content: center;
    max-height: 800px;
    overflow:hidden;
    position: relative;
    max-width: 2000px;
    margin: auto;
    background-color: lightgrey;
 }*/

/*#portfolio img {
    width:100%;
    align-self: center;
  
 }

 #portfolio div {
    display: flex;
 }*/
/*#portfolio div {
    position: absolute;
    top: 40%;
    width:100%;
    display: flex;
    justify-content: space-between;
}*/
/*#portfolio span{
    cursor: pointer;
    font-size: 4em;
    color: rgba(255, 250, 250, 0.8);
}*/

/* 
///////////////////
A QUI SONT ADRESSEE LES SCEANCES / PROPOS
///////////////////
*/
#propos{
    background-color: var(--bleu);
    display: flex;
    flex-flow: column wrap;
    text-align: center;
    padding-top: 5em;
    padding-bottom: 5em;
    color:white;
}
#propos-box{
    width:80%;
    margin: auto;
}
#propos-box strong{
    color:var(--NoirBleu)
}
#propos-box p {
    padding-bottom: 2em;
    text-align: justify;
}
#propos-box ul{
    padding-top: 3em;
    padding-bottom: 3em;
}
#propos-box li{
    text-align: left;
    padding-top: 0.5em;
    text-align: justify;
}
#propos-box a,#rdvButton
{
    background-color: white;
    padding-top: 1em;
    padding-bottom: 1em;
    padding-left: 2em;
    padding-right: 2em;
    border-radius:300px;
    font-weight: bold;
    color: black;
    transition: 0.2s;
}
#rdvButton
{
    font-size: 0.75em;
    position: absolute;
    left:50%;
    bottom: 10px;
    transform: translate(-50%,-50%);
    min-width: 200px;
    text-align: center;
}
#rdvButton:hover{
    background-color: rgb(219, 213, 213);
}
#propos-box a:hover{
    background-color: rgb(219, 213, 213);
}

@media all and (max-width: 350px){
    #propos-box a{
        font-size: 0.7em;
    }
}
@media all and (max-height: 700px){
    #rdvButton
    {
        bottom: -10px;
    }
}
@media all and (max-height: 635px){
    header
    {
        font-size: 0.8em ;
    }
}
/* 
///////////////////
MOTIF
///////////////////
*/
#motif-box
{
    display: flex;
    flex-flow: column wrap;
    text-align: center;
    width: 90%;
    margin: auto;
    padding-bottom: 5em;
    padding-top: 5em;
}
#motif-box h1,hr
{
    margin-bottom: 0;
}
#motif-box ul{
    padding-top: 3em;
    padding-bottom: 3em;
}
#motif-box li{
    text-align: left;
    padding-top: 0.5em;
    text-align: justify;
}
/* 
///////////////////
DEROULEMENT
///////////////////
*/
#deroul
{
    background-color: var(--bleu);
    color: white;
}
#deroul-box
{
    display: flex;
    flex-flow: column wrap;
    text-align: center;
    padding-bottom: 5em;
    padding-top: 5em;
}
#deroul-box h1
{
    margin-bottom: 0;
}
#deroul-box hr
{
    margin-bottom: 2em;
}
#deroul-box h3
{
    display: flex;
    justify-content: left;
    align-items: center;
}
#deroul-box #liste-deroul
{
    display: flex;
    flex-flow: column wrap;
    margin: auto;
    width:900px;

}
#deroul-box #liste-deroul .rowrow,.rowrow2
{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding-bottom: 2em;
    padding-top: 2em;
}
#deroul-box #liste-deroul .rowrow img,.rowrow2 img{
    align-self: center;
    width:400px;

}
#deroul-box #liste-deroul .rowrow2
{
    flex-direction: row-reverse;
}
#deroul-box #liste-deroul .colcol{
    width: 400px;
}
#deroul-box #liste-deroul div.droite
{
    align-self: flex-end;
}
#deroul-box span{
    display:flex;
    background-color: var(--orange);
    width:1em;
    height:1em;
    border-radius:50px;
    font-weight: bold;
    padding: 1.5em;
    margin-right: 1em;
    align-items: center;
    justify-content: center;
}
#deroul-box p{
    text-align: justify;
}
#deroul-box #pend{
    padding-top: 2em;
}
#deroul-box img{
    filter:grayscale(100%);
}
@media all and (max-width: 950px){
    #deroul-box
    {
        padding-top: 3em;
        padding-bottom: 3em;
    }
    #deroul-box #liste-deroul
    {
        max-width:450px;
    }
    #deroul-box #liste-deroul .rowrow,#deroul-box #liste-deroul .rowrow2
    {
        display : initial;
        margin: auto;
    }
}
@media all and (max-width: 450px){
    #deroul-box
    {
        width:90%;
        margin: auto;
    }
    #deroul-box #liste-deroul
    {
        width: 100%;
    }
    #deroul-box #liste-deroul .rowrow img,.rowrow2 img{
        align-self: initial;
        width:100%
    }
    #deroul-box #liste-deroul .colcol{
        width:100%;
    }
}
@media all and (max-width: 350px){
    #deroul-box #liste-deroul .rowrow img,.rowrow2 img{
        display: none;
    }
    #deroul-box h3
    {
        font-size: 0.8em;
    }
    #deroul-box h1,hr
    {
        font-size: 0.8em;
    }
}

/* 
///////////////////
OSTEO
///////////////////
*/
#osteo-box
{
    background-color: white;
    color: black;
    width: 80%;
    margin: auto;
    text-align: center;
    padding-bottom: 5em;
    padding-top: 5em;
}
#osteo-box h1,hr
{
    margin-bottom: 0;
}
#osteo-box h3
{
    margin-bottom: 2em;
}
#osteo-box div
{
    display: flex;
    flex-flow: row wrap;
    justify-content: space-evenly;
}
#osteo-box div img
{
    width: 20%;
    filter:grayscale(100%);
    min-width: 300px;
}
#osteo-box div p
{
    width: 50%;
    margin-top: auto;
    margin-bottom: auto;
    text-align: justify;
}
@media all and (max-width: 768px){
    #osteo-box div img
    {
        width: 50%;   
    }
    #osteo-box div p
    {
        width: 100%;
    }
    #osteo-box
    {
        padding-top:3em;
        padding-bottom: 3em;
    }
}

/* 
///////////////////
LOCATION
///////////////////
*/
#location
{
    background-color: var(--bleu);
    color: white;
    text-align: center;
    padding-bottom: 5em;
    padding-top: 5em;
}
#location-box
{
    width: 80%;
    margin: auto;
}
#location-box h1,hr
{
    margin-bottom: 0;
}
#location-box h3
{
    margin-bottom: 2em;
}
#location-box div 
{
    text-align: left;
}
#location-box div img
{
    width: 100%;
}
#location-box span.gras
{
    margin-right: 5em;
    position: relative;
}
#location-box td:not(#location-box td.gras)
{
    color:white;
    font-weight: normal;
    padding-left: 2em;
}
#location-box table
{
    margin-bottom: 2em;
}
#location-box td
{
    padding-bottom: 1em;
}
.flexRow
{
    display: flex;
    flex-flow: row nowrap;
    margin-bottom: 2em;
}
.flexRow .gras
{
    padding-right: 2em;
}
@media all and (max-width:450px)
{
    #location-box
    {
        width:90%;
    }
    #location
    {
        padding-top:3em;
        padding-bottom: 3em;
    }
}
/* 
///////////////////
CONTACT
///////////////////
*/
#contact{
    display: flex;
    flex-flow: column wrap;
    margin: auto;
    text-align: center;
    padding-top: 5em;
    padding-bottom: 5em;
}
#contact h2{
    font-size: 2em;
    margin-bottom: 0em;
    color: var(--orange);
}
#contact h3{
    font-size: 1em;
}
#contact-box{
    display: flex;
    flex-flow: row wrap;
    width: 100%;
    justify-content:space-evenly;
    padding-top: 4em;
}
#contact-box a
{
    color: black;
}
#contact-box p a{
    color: var(--orange);
    padding-top: 1em;
}
#contact-box a:hover{
    text-decoration: underline;
}
@media all and (max-width: 650px){
    #contact
    {
        padding-bottom: 3em;
        padding-top: 3em;
    }
    #contact-box{
        margin: auto;
        width: 80%;
        padding-top: 2em;
    }
    .contact-icon
    {
        width: 200px;
    }
}
@media all and (max-width: 350px){
    #contact h1{
        font-size: 1em;
    }
}
/* 
///////////////////
FOOTER
///////////////////
*/
#mentions, #mentions a{
    text-align: center;
    width:100%;
    color: gray;
    padding-bottom: 1em;
}
#mentions a{
    margin-left: 5em;
    cursor: pointer;
    text-decoration: underline;
}

#infos-legal{
    display: initial;
    font-size: 0.8em;
    color: gray;
    text-align: center;
    
}
#infos-legal a{
    color: gray;
    text-decoration: underline;
}
#infos-legal.hidden-legal{
    display: none;
}
#close-legal{
    position: -webkit-sticky;
    position : sticky;
    top:100px;
    margin: auto;
    display:flex;
    background-color: rgba(255,255,255,0.5);
    border: 1px solid black;
    width:1em;
    height:1em;
    border-radius:50px;
    font-weight: bolder;
    padding: 1.5em;
    margin-right: 1em;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

@media all and (max-width: 650px){
    #mentions a{
        margin-left: initial;
        display: block;
    }
}