/* Add-on nov. 2019 Menu from pure-css-mobile-compatible-responsive-dropdown-menu
––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––– */

@media screen
{

nav input[type="checkbox"] { display: none; }

nav p { text-align: center; }
 .toggle, [id^=drop] {
 display: none;
}

nav {
  margin: 0;
  padding: 0;
  /* background-color: #254441;   */
  background-color: rgb(117,144,174); 
}

}

@media print
{
   nav { display: none; }
}

/* add-on jan. 2020 : resizing menu */
.menu { 
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px;  }
}

#logo {
  display: block;
  padding: 0 30px;
  float: left;
  font-size: 20px;
  line-height: 40px;
}

nav:after {
  content: "";
  display: table;
  clear: both;
}

nav ul {
  /* float: right; */
  padding: 0;
  margin: 0; 
  list-style: none;
  position: relative;
}

nav ul li {
  margin: 0px;
  display: inline-block;
  float: left;
  /* background-color: #254441; */
  background-color: rgb(117,144,174);
}

nav a {
  display: block;
  padding: 0 20px;
  color: #FFF;
  font-size: 20px;
  line-height: 40px;
  text-decoration: none;
}

/* nav ul li ul li:hover { background-color: rgb(61,92,122); } */
/* between sub-menu and sub-sub-menu */
nav ul li ul li:hover { background-color: rgb(117,144,174); }

/* nav a:hover { color:rgb(117,144,174); background-color: rgb(61,92,122); } */
/* links only - not for little menu if 'sub-choices' exist */
nav a:hover { color:rgb(255,255,255); background-color: rgb(61,92,122); }

nav ul ul {
  display: none;
  position: absolute;
  top: 40px;
}

nav ul li:hover > ul { display: inherit; }

nav ul ul li {
  width: 170px;
  float: none;
  display: list-item;
  position: relative;
}

nav ul ul ul li {
  position: relative;
  top: -40px;
  left: 170px;
}

/* nav li > a:after { content: ' +'; } */

nav li > a:only-child:after { content: ''; }


/* Media Queries (Original max = 768 -> modified)
------------------------------------------------- */

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

#logo {
  display: block;
  padding: 0;
  width: 100%;
  text-align: center;
  float: none;
}

nav { margin: 0; }

.toggle + a,
 .menu { display: none; }

.toggle {
  display: block;
  /* background-color: #254441; */
  /* for items in little menu only if 'sub-choices' exist*/
  background-color: rgb(117,144,174);
  padding: 0 20px;
  color: #FFF;
  font-size: 20px;
  line-height: 40px;
  text-decoration: none;
  border: none;
}

/* .toggle:hover {color:rgb(117,144,174);  background-color: rgb(61,92,122); } */
/* in little menu, for items only if 'sub-choices' exist */
.toggle:hover {color:rgb(255,255,255);  background-color: rgb(61,92,122); }

[id^=drop]:checked + ul { display: block; }

nav ul li {
  display: block;
  width: 100%;
}

nav ul ul .toggle,
 nav ul ul a { padding: 0 40px; }

nav ul ul ul a { padding: 0 80px; }

/* nav a:hover, */
/* nav ul ul ul a { background-color: rgb(61,92,122); } */

nav a:hover { background-color: rgb(61,92,122); }
nav ul ul ul a { background-color: rgb(117,144,174); } 

nav ul li ul li .toggle,
 /* nav ul ul a { background-color: rgb(61,92,122); } */
 /* 'sub-choices' in little menu */
 nav ul ul a { background-color: rgb(117,144,174); } 

nav ul ul {
  float: none;
  position: static;
  color: #ffffff;
}

nav ul ul li:hover > ul,
nav ul li:hover > ul { display: none; }

nav ul ul li {
  display: block;
  width: 100%;
}

nav ul ul ul li { position: static;

}
}

@media all and (max-width : 330px) {

nav ul li {
  display: block;
  width: 94%;
}

}


