/*!
Theme Name: fnas
Theme URI: http://underscores.me/
Author: Jean Marc Lahaye
Author URI: http://underscores.me/
Description: Custom theme for FNAS
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: fnas
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

fnas is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

#menu ul {
    margin: 0;
    padding: 0;    
  }
  
  #menu .main-menu {
    display: none;
  }
  
  #tm:checked + .main-menu {
    display: block;
  }
  #menu input[type="checkbox"], 
  #menu ul span.drop-icon {
    display: none;
  }
  
  #menu li, 
  #toggle-menu, 
  #menu .sub-menu {
    border-style: solid;
    border-color: rgba(0, 0, 0, .05);
  }
  
  #menu li, 
  #toggle-menu {
    border-width: 0 0 1px;
  }
  
  #menu .sub-menu {
    background-color: #ffe3a6;
    border-width: 1px 1px 0;
    margin: 0 1em;
  }
  
  #menu .sub-menu li:last-child {
    border-width: 0;
  }
  
  #menu li, 
  #toggle-menu, 
  #menu a {
    position: relative;
    display: block;
    color: #1d1d1b;    
  }
  
  #menu {
    background-color: #fbba00;    
  }
  
  #toggle-menu {
    background: #fbba00;
  }
  
  #toggle-menu, 
  #menu a {
    padding: 1em 1.5em;
    text-decoration: none;
    font-weight: 600;
  }
  
  #menu a {
    transition: all .125s;
    -webkit-transition: all .125s;
  }
  
  #menu a:hover {    
    color: #fff;
    background-color: #1d1d1b;
  }
  #toggle-menu a:hover {
    background-color: transparent;  
  }
  
  #menu .sub-menu {
    visibility: hidden;
    display: none;
    z-index: -1;
  }
  
  #menu input[type="checkbox"]:checked + .sub-menu {
    visibility: visible;
    display: block;
    z-index: 3000;
  }
  
  #menu .sub-menu a:hover {
    color: #fff;
  }
  
  #toggle-menu .drop-icon, 
  #menu li label.drop-icon {
    position: absolute;
    top: 0;
    right: 0;
    cursor: pointer;
  }
  
  #menu label.drop-icon, #toggle-menu span.drop-icon {
    padding: 1em;
    font-size: 1em;
    text-align: center;
    background-color: transparent;
    text-shadow: 0 0 0 transparent;
    color: rgba(0, 0, 0, 1);
  }
  #menu li:hover label.drop-icon {
    filter: contrast(100);
  }

  #menu .sub-menu label.drop-icon {
    background-color: rgba(255,255,255,.4);
    color: #000;
  }
  
  @media only screen and (min-width: 1024px) {
    #menu .main-menu {
        display: flex;
        align-items: center;        
    }
  
    #toggle-menu, 
    #menu label.drop-icon {
      display: none;
    }
    
    #menu label.drop-icon {
      display: inline-block;
    }

    #menu ul span.drop-icon {
      display: none;
    }
  
    #menu li {
      flex: 1 1 auto;
      text-align: center;
    }
  
    #menu .sub-menu li {
        text-align: left;
    }
  
    #menu .sub-menu {
      border-width: 0;
      margin: 0;
      position: absolute;
      top: 100%;
      left: 0;
      width: 25vw;       
    }
    #menu li:last-child .sub-menu {
      left: auto;
      right: 0;
    }

    #menu .sub-menu, 
    #menu input[type="checkbox"]:checked + .sub-menu {
      visibility: hidden;
    }

    #menu input[type="checkbox"]:checked + .sub-menu {
      visibility: visible;
    }
  
    #menu .sub-menu li {
      border-width: 0 0 1px;
    }
  
    #menu .sub-menu .sub-menu {
      position: static;      
      background-color: #eeeeee;
      padding-left: 30px;      
    }
  
   #menu .sub-menu .drop-icon {
      position: absolute;
      top: 0;
      right: 0;
      padding: 1em;
      display: inline-block;
    }
    
    #menu .main-menu > li:hover > .sub-menu {
      visibility: visible;
      display: block;
      height: auto;
    }    

    #menu input[type="checkbox"]:checked + .sub-menu {
      display: block;
    }
  }
  @media only screen and (max-width: 576px) {
    #menu .sub-menu {
        display: none;
      }
      
      #menu input[type="checkbox"]:checked + .sub-menu {
        display: block;
        z-index: 3000;
      }
      #menu .sub-menu {        
        margin: 0;
      }
      #toggle-menu {
        padding: 0 15px;
        height: 56px;
        display: flex;
        align-items: center;        
      }
      #menu #toggle-menu a {
        padding: 0;
      }
      #menu #toggle-menu a:hover {
        background-color: transparent;
      }
      #toggle-menu span.drop-icon, #menu label.drop-icon {
        cursor: pointer;
        min-width: 56px;
      }
  }
  #menu .navlogo a:hover {
    background-color: transparent;
  }
 /*
 .archive #map, .page #map { pointer-events: none; }
 .archive #map.clickevent, .page #map.clickevent { pointer-events: auto; }
  */
 .bootstrap-wrapper {
     font-size: 16px;
     font-family: "Lato",sans-serif !important;
 }
 .agent-infos .advgb-accordion-body {
     font-size: 16px;
 }
 .agent-infos .wp-block-advgb-accordions {
     clear: both;
     padding-top: 2em;
 }
 .single-map-fnas {
     height: 380px;
     width: 45%;
     margin-left: 5%;
     display: block;
     float: right;
 }
 @media(max-width: 576px){
     .single-map-fnas {
         width: 100%;
         margin-left: 0;
         margin-top: 25px;
         margin-bottom: 25px;
         float: none;
     }
 }
li.pdf-list {
  	list-style-image: url(http://fnas2.laje4223.odns.fr/wp-content/uploads/file-pdf-fill.svg);
	margin-bottom: 8px;
	padding-left: 16px;
}
.yellow-btn-fnas a {
	border-radius: 0 !important;
	background-color: #fbba00 !important;
	color: #000 !important;
}
.agent-info__gallery-pics {
    display: none !important;
}
#progress-bar {
    max-width: 100% !important;
}
.single-directories .foo-table tbody tr td:nth-child(1), .single-directories .foo-table thead tr th:nth-child(1) {
   position: sticky;
   position: -webkit-sticky;
   left: 0;
   z-index: 1;
   background-color: #fff;
}
.expand-me .input-group {
	background-color: #fff;
}