/* styles for both menus (side and top), chosen by media query */

/* narrow screen - top menu but no side menu or banner */
@media only screen and (max-width: 1023px) {
    #lefthand-menu {
        display: none;
    }
    #top-banner {
        display: none;
    }
    #print-header {
        display: none;
    }
    .menuitemextra {
        padding-bottom: 0.3em;
        font-size: 130%;
    }
}

/* wide screen - side menu but no top menu */
@media only screen and (min-width: 1024px) {
    #topmenu {
        display:none;
    }
    #print-header {
        display: none;
    }
}

/* no menus on banners at all on printouts */
@media print {
    #topmenu {
        display: none;
    }
    #lefthand-menu {
        display: none;
    }
    #top-banner {
        display: none;
    }
    #print-header {
        display: block;
    }
}

.topmenu {
    width: 100%;
}

.topmenu_first {
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    background: gray;
    padding: 0.5em; 
    padding-right: 1em;
}

.topmenu_items {
    background: white;
    padding: .5em;
    border-bottom: 3px groove black;
}

.logotext {
    color: yellow;
    font-style: italic;
    font-weight:bold;
    font-family: serif;
    font-size: large;
}

.simpletitle {
    color: black;
    font-style: italic;
    font-weight:bold;
    font-family: serif;
    font-size: xx-large;
    text-align: center;
}

.indexmenuitem {
    text-align: left;
/*    display: block; */
    white-space: wrap;
    overflow: hidden;
}

.indexmenu {
  text-decoration: none;
  color: blue;
  list-style: none;
  display: inline;
/*  margin-left: 20;
  padding-left: 2px;
  margin-bottom: 0px;
  padding-right: 5px;
  border-radius: 10px;
  border: 1px solid gray;
  background: white;*/
}

.indexmenu:hover {
  color:#ffffff;
  background-color:#333387;
  cursor: pointer;
}

/* Tweaks index-menu so it works on (eg) why waterway is excluded by default */
.seldrop {
    display: block;
}
