/*=======================================================================================================*/
/*=============================================  HEADER  ================================================*/
  :root{
    --menu-color : #f0802d;
    --menu-color-hover : rgba(255,255,255,0.1);
    --bkgMenuColor : #111;
  }


  #main-navbar{position:absolute; width:100%; min-height: var(--header-height); padding:0; box-shadow:none; border:none; font-weight:400;}


  /*navbar logo*/
  .navbar-brand{margin:0; z-index:100; position:relative;} /* <---------------------------- */
    @media (max-width: 1399px){ .navbar-brand{margin:0;}}
    @media (max-width: 1199px){ .navbar-brand{margin:0;}}
    @media (max-width: 991px){ .navbar-brand{margin:0 0 0 62px;}}
    @media (max-width: 767px){ .navbar-brand{margin:0 0 0 8.5%;}}


  .navbar-brand img{position:relative; height:var(--header-height);line-height:100px; top:3vh;}
    @media (max-device-width: 767px) and (orientation: portrait){
      .navbar-brand{margin:0 0 0 10px;}
      .navbar-brand img{ height:100px;line-height:100px; left:30px;}
    }
    @media (max-device-width: 767px) and (orientation: landscape){
      .navbar-brand{margin:0 0 0 10px;padding:0;}
      .navbar-brand img{margin:0;height:80px;line-height:80px;}
    }

    /*main-menu*/
    #nav-menu{position:relative; z-index:1;}
    .navbar-toggler[aria-expanded="true"] + #nav-menu #main-menu{top:0;right:0;}
      @media (min-width: 992px){.navbar-toggler[aria-expanded="true"] + #nav-menu #main-menu{top:15px;right:13%;}}
    #main-menu{position:relative;top:15px;right:30px;z-index:100;} /* <---------------------------- */
    #main-menu li a.m1{position:relative; transition:background .3s; text-transform: uppercase;}
    #main-menu li:not(.active) a.m1:hover{background:var(--menu-color-hover);}
    #main-menu a.m1{padding:1px 6px; margin:0 0.6vw;}
      @media (min-width: 1100px){#main-menu a.m1{padding:1px 8px;}}
      @media (min-width: 1300px){#main-menu a.m1{padding:1px 9px;}}
      @media (min-width: 1600px){#main-menu a.m1{padding:1px 11px;}}
    #main-menu a.m1:hover{color:#fff;}
    #main-menu a.m1.nav-lang{margin:0;}
    #main-menu a.m1.nav-lang1{margin:0 0 0 40px;}

    /*main-menu marker*/
    #main-menu li a.m1 .marker{position:absolute; bottom:0; left:0; height:2px; width:0; background:var(--menu-color);}
    #main-menu li.active a.m1 .marker{width:100%; animation-name: anim-marker;animation-duration: 0.35s; animation-timing-function: ease-out;}
      #main-menu a.m2.active .marker{position:absolute; top:30%; left:0; height:40%; width:2px; background:var(--menu-color);}
    @keyframes anim-marker { from { width:0; left:50%} to {width:100%; left:0;} }

    /*main-menu drop-down*/
    #main-menu li.dropdown .dropdown-menu {border-radius:5px; top:29px; padding:10px; opacity:1; background: rgba(20,20,20,1); text-align:center;} /*padding:10px 0; dans menu ? pas de top ni left et w200px...*/
      .dropdown-menu-center {right:auto; left:50%; -webkit-transform: translate(-50%, 0); -o-transform: translate(-50%, 0); transform: translate(-50%, 0);}
    #main-menu a.m2{color:rgba(255,255,255,.5); transition:background-color .3s; position:relative; display:inline-block; font-weight:400; padding:0.7em 1em; border-bottom:1px solid rgba(255,255,255,0.3); text-transform: uppercase;background:rgba(255,255,255,0);}
    #main-menu a.m2:last-child{border-bottom:none;}
    #main-menu a.m2:hover{background:rgba(255,255,255,0.1);}

    /*hamburger menu icon*/ 
    #navbar-toggler{position:relative; right:60px; border-width:0; outline:0; z-index:1; } /* <---------------------------- */
    @media (max-width: 767px){ #navbar-toggler{right:4%} }
    @media (max-width: 250px){ #navbar-toggler{display:none;} }


    .menu-icon {width:30px; height:20px; position:relative; margin:0px; cursor: pointer;-webkit-transform: rotate(0deg); -moz-transform: rotate(0deg); -o-transform: rotate(0deg); transform: rotate(0deg);-webkit-transition: .5s ease-in-out; -moz-transition: .5s ease-in-out; -o-transition: .5s ease-in-out; transition: .5s ease-in-out;}
    .menu-icon span {height: 3px; width: 100%; display: block; position: absolute; border-radius: 9px; opacity: 1;left: 0;-webkit-transform: rotate(0deg);-moz-transform: rotate(0deg);-o-transform: rotate(0deg);transform: rotate(0deg);-webkit-transition: .25s ease-in-out;-moz-transition: .25s ease-in-out; -o-transition: .25s ease-in-out; transition: .25s ease-in-out;}
    .menu-icon span {background: #fff;}
    .menu-icon span:nth-child(1) {top: 0px;}
    .menu-icon span:nth-child(2) {top: 10px;}
    .menu-icon span:nth-child(3) {top: 20px;}
    .menu-icon.open span:nth-child(1) {top: 11px;-webkit-transform: rotate(135deg);-moz-transform: rotate(135deg);-o-transform: rotate(135deg);transform: rotate(135deg);}
    .menu-icon.open span:nth-child(2) {opacity: 0;left: -60px;}
    .menu-icon.open span:nth-child(3) {top: 11px;-webkit-transform: rotate(-135deg);-moz-transform: rotate(-135deg);-o-transform: rotate(-135deg);transform: rotate(-135deg);}


    /*menu mobile/contracted*/
    @media (max-width: 991px) {
              .nav-item{text-align: center;}
              .nav-item:first-child{margin-top:12vh;}
              #navbar-toggler, #nav-menu{z-index:99;}
              #nav-menu #main-menu li{position:relative; left:5%; width:90%;}
              .nav-bkg{display:block; opacity:0; position:absolute; left:0; top:0; height:100vh; width:100%; margin:0; padding:0;
                background: #292929;
                background: -moz-linear-gradient(top,  #292929 0%, #5b5757 100%);
                background: -webkit-linear-gradient(top,  #292929 0%,#5b5757 100%);
                background: linear-gradient(to bottom,  #292929 0%,#5b5757 100%);
                filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#292929', endColorstr='#5b5757',GradientType=0 );
                transition:all .6s;
                }
              #navbar-toggler[aria-expanded="true"] ~ .nav-bkg{opacity:1; z-index:10}
              /*liens*/
              #nav-menu #main-menu a{font-size:1.1em; padding:calc(4px + .7vh) 0; margin:0; font-weight:100;}
              #nav-menu #main-menu li{margin-bottom:4px;}
              #nav-menu #main-menu li:first-child{border-top:1px solid rgba(255,255,255,0.2);}
              #nav-menu #main-menu li:last-child{border-bottom:1px solid rgba(255,255,255,0.2);}
              #nav-menu #main-menu li a.m1{font-size:1.7em;}
              
              #nav-menu #main-menu li.active a.m1{color:var(--menu-color);font-weight:normal;}
              #nav-menu #main-menu li:not(.dropdown) a.m1:hover{background:rgba(255,255,255,0.08); color:#fff;}

              #main-menu .dropdown-menu {position:relative;top:0; display:block; width:100% !important; text-align:center; padding:0;}
              #main-menu li a{display:inline-block; width:100%; height:auto; padding:0; margin:0;}
              #main-menu .open-menu{position:relative; top:50px; opacity:0; animation-delay:calc(.1s * var(--t)); animation-name:anim-open-menu; animation-duration: 0.4s; animation-timing-function: ease-out; animation-fill-mode: forwards;}
              @keyframes anim-open-menu { from { opacity:0; top:50px;} to {opacity:1; top:0;} }
              #nav-menu #main-menu a.m1{width:100%;text-transform:lowercase;
                background: -moz-linear-gradient(left,  rgba(255,255,255,0.07) 0%, rgba(255,255,255,0) 40%, rgba(255,255,255,0) 60%, rgba(255,255,255,0.07) 100%);
                background: -webkit-linear-gradient(left,  rgba(255,255,255,0.07) 0%,rgba(255,255,255,0) 40%,rgba(255,255,255,0) 60%,rgba(255,255,255,0.07) 100%);
                background: linear-gradient(to right,  rgba(255,255,255,0.07) 0%,rgba(255,255,255,0) 40%,rgba(255,255,255,0) 60%,rgba(255,255,255,0.07) 100%);
                filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#12ffffff', endColorstr='#12ffffff',GradientType=1 );                     
              }
              /*2e niveau dropdown*/
              #main-menu li.dropdown a.m1{cursor:not-allowed;}
              #main-menu li.dropdown a.m1:hover{color:rgba(255,255,255,.5);}
              #main-menu li.dropdown .dropdown-menu {background:transparent; border:0; top:0; padding:0;}
              #nav-menu #main-menu a.m2{font-size:1.2em; padding:1vh 0;}
              #main-menu a.m2{position:relative; width:70%;text-transform:lowercase;
                background: -moz-linear-gradient(left,  rgba(0,0,0,0) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0) 100%);
                background: -webkit-linear-gradient(left,  rgba(0,0,0,0) 0%,rgba(0,0,0,0.3) 50%,rgba(0,0,0,0) 100%);
                background: linear-gradient(to right,  rgba(0,0,0,0) 0%,rgba(0,0,0,0.3) 50%,rgba(0,0,0,0) 100%);
                filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#00000000',GradientType=1 );
                /*https://www.colorzilla.com/gradient-editor/#000000+0,000000+100&0+0,0.3+50,0+100*/             
              }
              #main-menu a.m2:hover{background:rgba(255,255,255,0.08); color:#fff;}
              #main-menu a.m2{border-bottom:1px solid rgba(255,255,255,0.2);}
              /*marker*/
              #main-menu li.dropdown a.m1 .marker{display:none;}
              #main-menu li a.m1 .marker{top:30%; left:20px; height:0; width:2px; background:var(--menu-color);}
              #main-menu li.active a.m1 .marker{ height:40%;width:2px; }
              #main-menu a.m2.active .marker{left:20px;}
              @keyframes anim-marker { from { height:0; top:50%;} to {height:40%; top:30%;} }
    }
    @media (max-device-width: 991px) {
      #nav-menu #main-menu a.m1{padding:0.5vh 0; font-size:1.6em;}
      #nav-menu #main-menu a.m2{padding:0.5vh 0;}
    }



      @media (min-width: 992px) {
        #main-menu .dropdown:hover .dropdown-menu {display:block; animation-name: anim-dropdown;animation-duration: 0.35s; animation-timing-function: ease-out;}
        @keyframes anim-dropdown { from { opacity: 0;} to {opacity: 0.95;} }
      }

			/*menu collapsed*/

      /*.navbar-collapse.collapsing, .navbar-collapse.show {padding: 11px 0 0 0;}*/
      





/*
    :root {
      --header_h: 20vh;
      --header_min_h: 80px;
      --header_max_h: 100px;
    }

    #nav {position:absolute; top:0; left:0; width:100%; height:var(--header_h); min-height:var(--header_min_h); max-height:var(--header_max_h); z-index:100; }
      #nav .bkg {background:transparent;}
      body.creations_detail #nav .bkg,
      body.mediations_detail #nav .bkg,
      body.company_team #nav .bkg {background:#000;}

      #nav .gouttiere {height:100%;}
        #nav .gouttiere_center {height:100%; display:flex; align-items:center; justify-content:space-between;}
*/
          /* logo */
/*        #logo_container{position:relative; top:0px; height:100%; width:300px; display:flex; align-items:center; z-index:101;}
          #logo_container .logo_negatif{height:80%; width:100%; background-image:url("../svg/logo_negatif.svg"); background-position:left center; background-repeat:no-repeat; background-size:contain; text-indent:-9999px; overflow:hidden;}
*/
          /* menu */
/*          #menu{position:relative; height:100%; list-style-type:none; display:flex; align-items:center; justify-content:center; flex-direction: row; margin: 0;padding: 0;}
            #menu a{font-size:.85em; display:block; position:relative; height:100%; margin:0 1px; text-align:center; cursor:pointer; text-decoration:none;}
            #menu a.active{cursor:default;}
              #menu a:not(.active):hover li{color:var(--main_color);}
              #menu a.active li{color:#fff;}
              #menu a li{padding:5px; display:block; color:rgba(255,255,255,.35); background-color:transparent; transition:all .4s; box-sizing:border-box; position:relative; display:flex; height:100%; flex-direction:column; justify-content:center; align-items:flex-end;}
                #menu a li span{display:block; width:100%; position:relative;}
                #menu a.active li span:after{position:absolute; content:''; bottom:0;  height:1px; background: var(--main_color); animation-name: anim_width; animation-duration: 1s; transition-timing-function: ease-in; animation-fill-mode: both;}
                @keyframes anim_width { 0% {width:0%; left:50%;} 100% {width:100%; left:0;}}



        @media screen and (max-width: 767px) {
          #nav .gouttiere_center {margin: 0 auto;}
          #logo_container .logo_negatif{background-position:left center;}
          #menu{display:none;}
        }
        @media screen and (max-device-width: 767px) and (orientation: portrait) {
          #logo_container {height:77%;}
        }

        @media screen and (max-width: 1000px) {
          #menu a.home {display:none;}
        }
*/
        /*=======================================================================================================*/
        /*==========================================  HAMBURGER ================================================*/

        /* ico hamburger */
        .menu-button-container {
          display: none;
          height:56px;
          width: 30px;
          cursor: pointer;
          flex-direction: column;
          justify-content: center;
          align-items: center;
          z-index:101;
          padding:0 15px;
          position:relative;
          left:15px;

        }
        @media screen and (max-device-width: 767px) {
          .menu-button-container {
            background:#000;
            border:1px solid rgba(255,255,255,.2);
            border-radius:10px;
          }
        }
        .menu-button,
        .menu-button::before,
        .menu-button::after { display: block; background-color: #fff; position: absolute; height: 2px; width: 30px; transition: transform 400ms cubic-bezier(0.23, 1, 0.32, 1); border-radius: 2px;}
        .menu-button::before { content: ''; margin-top: -8px;}
        .menu-button::after { content: ''; margin-top: 8px;}

        /* input -> réaction icone */
        #menu-toggle { display: none; }
        #menu-toggle:checked + .menu-button-container .menu-button::before { margin-top: 0px; transform: rotate(405deg); }
        #menu-toggle:checked + .menu-button-container .menu-button { background: rgba(255, 255, 255, 0);}
        #menu-toggle:checked + .menu-button-container .menu-button::after {margin-top: 0px; transform: rotate(-405deg); }


        @media (max-width: 767px) {
          /* ico hamburger visible */
          .menu-button-container { display:flex; }
          #menu {opacity:0; top:-100vh;  background-image: url("../img/home/home_1920x1080.jpg"); background-position:center; background-repeat:no-repeat; background-size:cover; display:flex; bottom:0; transition: opacity .1s cubic-bezier(0.23, 1, 0.32, 1); height:100vh; position:absolute; right:calc(-1 * var(--gouttiere_sm)); left:calc(-1 * var(--gouttiere_sm)); flex-direction:column; justify-content:flex-start; align-items:center;}
          #menu .push {height:var(--header_h)}
          #menu-toggle ~ #menu a {transition: all .4s cubic-bezier(0.23, 1, 0.32, 1); width:100%; height:0; margin:0; padding:0; border:0; opacity:0;}
          #menu-toggle ~ #menu a .bkg {top:0; bottom:0; background:rgba(0,0,0,0.2); transition: all .4s cubic-bezier(0.23, 1, 0.32, 1);}
          #menu-toggle ~ #menu a:hover .bkg {background:rgba(255,255,255,0.05);}

          /* menu plein écran */
          #menu-toggle:checked ~ #menu {top:0px; opacity:1; }
          #menu-toggle:checked ~ #menu a {border-top: 1px solid rgba(255,255,255,.1); padding:2.5em 0 3em 0; opacity:1;}
          #menu-toggle:checked ~ #menu a.home {display:block;}
        }  

/*=======================================================================================================*/
/*==========================================  HEADER PUSH ================================================*/

  /*.header_push{position:relative; width:100%; height:var(--header_h); min-height:var(--header_min_h); max-height:var(--header_max_h); display:flex; align-items:center; justify-content:center;}
    .header_push span{display:inline-block;font-size:2.2em; color:#111;}*/

/*=======================================================================================================*/
/*==========================================  FOOTER PUSH ================================================*/

  /*#page_container {flex: 1 0 auto; position:relative; width:100%;}
  #footer {position:absolute; bottom:0; flex-shrink:0; width:100%;}*/

/*=======================================================================================================*/
/*=============================================  FOOTER  ================================================*/



    /* FOOTER -------------------------- */
    #footer{position:absolute; bottom:0; width:100%; height:calc(var(--footer-height));}
      #footer .bkg {background: rgba(25, 28, 28, 0.6);
        background: -moz-linear-gradient(top, rgba(40, 36, 33, 0.82) 0%, rgba(25, 23, 22, 0.97) 100%);
        background: -webkit-linear-gradient(top, rgba(40, 36, 33, 0.82) 0%, rgba(25, 23, 22, 0.97) 100%);
        background: linear-gradient(to bottom, rgba(40, 36, 33, 0.82) 0%, rgba(25, 23, 22, 0.97) 100%);
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#191c1c', endColorstr='#0d0e0e',GradientType=0 );
        border-top:1px solid #3d4141;}
        #footer .part{height:var(--footer-height); display:flex; align-items:center;}
          #footer .hyphen{display:inline-block; margin:0; color:#fff; opacity:.5;}
          #footer .color2{color:#fff; transition: all 0.3s;}
          #footer a.color2:hover{color:var(--menu-color);}
          #footer .color1{color:var(--menu-color); transition: all 0.3s;}
          #footer a.color1:hover{color:#fff}
          #footer .txt,
          #footer a{display:inline-block; padding:20px 10px 20px 10px; line-height:1; border-radius:3px; text-decoration:none;}
            #footer .social_wrap a{ margin:0; padding:20px 17px 20px 17px; transition:all 0.3s;}
              #footer .social_wrap a i{font-size:25px; position:relative; top:-2px; transition:all 0.3s;}

    @media (max-width: 767px) {
      #footer{position:absolute; bottom:0; width:100%; height:calc(var(--footer-height) + 10px);}
    }

    /*          
    @media screen and (max-device-width: 640px) {
          #footer .gouttiere_center {flex-direction:column; padding: 30px 0;}
            #footer .part{ padding:0;}
            #footer .part:first-child {order:2;}
            #footer .part:last-child .color1{color:#fff;}
    }
    
*/


