/*
 * these are stylesheet items relative to korteweb custom navigation
 * on material sites; this principally includes the simple navbar and the SIDR navbar
 * 
 * note there is another sheet dnk_materialelements.css which includes custom 
 * elements (cards),
 * and another dnk_materialcolors.css which includes material color definitions
 *
 * note that navbar is similar to materialize css, except that
 * classes used are namespaced by preceding dm_   so they are:
 * nav,  dm_nav-wrapper, dm_button-collapse, dm_brand-logo, dm_navbar-fixed
 * ALSO note that both dm_brand-logo and ul should use dm_right or dm_left
 * ALSO note that dm_brand-logo may use dm_center;
 * ALSO note that the automatic centering on medium screens is NOT included in this version
 * ALSO note that icon links and dropdown menu items are not supported in this version
 * ALSO note that the ul that encloses the menu items must include dm_hmenu class
 * you can use graphical logo with dm_brand-image (must have dm_left, dm_right, or dm_center)
 * if graphical logo is used, it should be 40px tall
 * note colors should be defined in a local .css specification or file, for
 *    .dm_nav-wrapper   //  .dm_nav-wrapper a   //   .dm_brand-logo, dm_brand-logo a //
 *    .dm_nav-wrapper ul.dm_hmenu li:hover // .dm_nav-wrapper ul.dm_hmenu a:hover
 */
 
.dm_nav-wrapper {
  /* note color: and background-color: must be defined in separate local definition with same selector */
  height: 56px;
  line-height: 56px;
  width: 100%;
  font-weight: normal;
  color: rgba(0, 0, 0, 0.87); 
}

@media only screen and (min-width : 993px) {
   .dm_sidrtrigger, .dm_brand-logo.dm_right, .dm_brand-image.dm_right, #sidr {
      display: none;
   }
}
@media only screen and (max-width : 992px) {
   .dm_hmenu, .dm_brand-logo.dm_left, .dm_brand-image.dm_left {
      display: none;
   }
}

.dm_sidrtrigger {
  float: left;
  margin-left: 8px;
  margin-top: 12px;
}

.dm_brand-logo, dm_brand-logo a {
  /* note color: and background-color: must be defined in separate local definition with same selector */
  position: absolute;
  display: inline-block;
  font-size: 2.4rem;
  padding: 0;
  white-space: nowrap;
  text-decoration: none;
}
.dm_brand-logo.dm_center {
   left: 50%;
   -webkit-transform: translateX(-50%);
   -moz-transform: translateX(-50%);
   -ms-transform: translateX(-50%);
   -o-transform: translateX(-50%);
   transform: translateX(-50%);
   text-decoration: none;
}

a.dm_brand-logo, a:hover.dm_brand-logo {
   text-decoration: none;
   font-weight: bold;
}

.dm_brand-logo.dm_right {
   right: 20px;
   padding: 0;
}
.dm_brand-logo.dm_left {
   left: 20px;
   padding: 0;
}
   
.dm_nav-wrapper ul.dm_hmenu {
  margin: 0;
}
.dm_nav-wrapper ul.dm_hmenu li {
   -webkit-transition: background-color .3s;
   -moz-transition: background-color .3s;
   -o-transition: background-color .3s;
   -ms-transition: background-color .3s;
   transition: background-color .3s;
   float: left;
   padding: 0;
   list-style-type: none;
   text-decoration: none;
}
.dm_nav-wrapper ul.dm_hmenu li:hover {
  /* note color: and background-color: must be defined in separate local definition with same selector */
   text-decoration: none;
}
.dm_nav-wrapper ul.dm_hmenu li.active {
   background-color: rgba(0, 0, 0, 0.1);
}

.dm_nav-wrapper ul.dm_hmenu a, nav ul a:hover {
   font-size: 1.6rem;
   color: #fff;                                 /* COLOR */
   display: block;
   padding: 0 15px;
   background-color: transparent;
   text-decoration: none;
   -webkit-tap-highlight-color: transparent;
}
.dm_nav-wrapper ul.dm_hmenu.dm_left {
   float: left;
}

.dm_navbar-fixed {
  position: relative;
  height: 64px;
  z-index: 998;
}
.dm_navbar-fixed nav {
    position: fixed;
}

/* dnk version of bootstrap dropdowns */
.dm_nav-wrapper li.dropdown {
  color: black;
  cursor: pointer;
}

li.dm_navdropitem {
  color: black;
  cursor: pointer;
  line-height: 3.6rem;
  height: 3.6rem;
  width: 100%;
  display: block;
}

li.dm_navdropitem a {
  color: black !important;
}
li.dm_navdropitem a:hover, li.dm_navdropitem a.active {
  color: white !important;
}
/* end of dnk version of bootstrap dropdowns */
